ObjFW  Check-in [633a7efff5]

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 | trunk
Files: files | file ages | folders
SHA3-256: 633a7efff50de95c9fa1511d51a0548208c05e9ebf114738dd794282c74c8368
User & Date: js on 2024-05-21 22:55:59
Other Links: manifest | tags
Context
2024-05-22
19:25
configure: Add -no-integrated-as to MIPS ASFLAGS check-in: 1277ea5ce5 user: js tags: 1.1
2024-05-21
23:23
platform.h: Don't consider X32 to be AMD64 check-in: d0bf215a88 user: js tags: trunk
22:55
configure: Add -no-integrated-as to MIPS ASFLAGS check-in: 633a7efff5 user: js tags: trunk
2024-05-20
21:48
OFGameController: Improve right stick emulation check-in: 8c81efc528 user: js tags: trunk
Changes

Modified configure.ac from [9f1df4bb0d] to [003a5317d9].

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.

		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.
		;;







>







301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
	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.
		;;