ObjFW  Check-in [1277ea5ce5]

Overview
Comment:configure: Add -no-integrated-as to MIPS ASFLAGS

It seems Debian defaults to the integrated assembler, which chokes on
calculating the distance between two labels.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | 1.1
Files: files | file ages | folders
SHA3-256: 1277ea5ce59cb4877ab99cb94a6e0e37a6523cca7508d55d1d5ff27ff8692b07
User & Date: js on 2024-05-22 19:25:12
Other Links: branch diff | manifest | tags
Context
2024-05-22
19:25
platform.h: Don't consider X32 to be AMD64 check-in: 84853039f8 user: js tags: 1.1
19:25
configure: Add -no-integrated-as to MIPS ASFLAGS check-in: 1277ea5ce5 user: js tags: 1.1
19:24
Fix workaround for missing blx on ARM check-in: cc826fdb6d user: js tags: 1.1
2024-05-21
22:55
configure: Add -no-integrated-as to MIPS ASFLAGS check-in: 633a7efff5 user: js tags: trunk
Changes

Modified configure.ac from [c5f786e250] to [aa1242302f].

300
301
302
303
304
305
306

307
308
309
310
311
312
313
	case "$host" in
	mips*-*-*)
		dnl Clang generates MIPS assembly not accepted by GNU as,
		dnl however, Clang's integrated assembler doesn't accept
		dnl everything used in ObjFW's assembly files. Therefore, use
		dnl the integrated assembler for ObjC files, but not for
		dnl assembly files.

		OBJCFLAGS="$OBJCFLAGS -integrated-as"
		OBJFW_OBJCFLAGS="$OBJFW_OBJCFLAGS -integrated-as"
		;;
	i?86-*-darwin* | x86_64-*-darwin*)
		dnl Don't use -no-integrated-as on Darwin. It breaks building
		dnl for the iOS simulator.
		;;







>







300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
	case "$host" in
	mips*-*-*)
		dnl Clang generates MIPS assembly not accepted by GNU as,
		dnl however, Clang's integrated assembler doesn't accept
		dnl everything used in ObjFW's assembly files. Therefore, use
		dnl the integrated assembler for ObjC files, but not for
		dnl assembly files.
		ASFLAGS="$ASFLAGS -no-integrated-as"
		OBJCFLAGS="$OBJCFLAGS -integrated-as"
		OBJFW_OBJCFLAGS="$OBJFW_OBJCFLAGS -integrated-as"
		;;
	i?86-*-darwin* | x86_64-*-darwin*)
		dnl Don't use -no-integrated-as on Darwin. It breaks building
		dnl for the iOS simulator.
		;;