ObjFW  Check-in [3a831de131]

Overview
Comment:Use -integrated-as on OpenBSD/SPARC64 with Clang
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 3a831de131708207e14340b96bc9bb3a6fe49f092b05961e83db181a87a1df78
User & Date: js on 2018-04-08 16:09:31
Other Links: manifest | tags
Context
2018-04-08
18:18
Make usage of several _Unwind_* functions optional check-in: 879e69dd3d user: js tags: trunk
16:09
Use -integrated-as on OpenBSD/SPARC64 with Clang check-in: 3a831de131 user: js tags: trunk
13:37
OFSecureData: Add a memory allocator check-in: 0e45b7bb1c user: js tags: trunk
Changes

Modified configure.ac from [be01d4c07f] to [2541cd5bb5].

173
174
175
176
177
178
179






180
181
182
183
184
185
186
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192







+
+
+
+
+
+







				OBJCFLAGS="$OBJCFLAGS -integrated-as"
				AC_SUBST(INTEGRATED_AS, "-integrated-as")
				;;
			dnl Clang's assembler on Windows is not complete yet
			dnl and cannot compile all .S files.
			*-*-mingw*)
				ASFLAGS="$ASFLAGS -no-integrated-as"
				;;
			dnl Clang generates assembly output on SPARC64 that
			dnl OpenBSD's assembler does not accept.
			sparc64-*-*openbsd*)
				OBJCFLAGS="$OBJCFLAGS -integrated-as"
				AC_SUBST(INTEGRATED_AS, "-integrated-as")
				;;
		esac
		;;
esac

AX_CHECK_COMPILER_FLAGS(-std=gnu11, [
	OBJCFLAGS="$OBJCFLAGS -std=gnu11"