summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Schleifer <js@nil.im>2020-06-30 19:52:34 +0000
committerJonathan Schleifer <js@nil.im>2020-06-30 19:52:34 +0000
commitbddde1efb30688b0fd92d723124af7df2abe9bbc (patch)
tree51cfb61f5284b84f6a61cbbbdb918d54b4aaf46c
parent9296afb5ae3bc367bc42fe8bc82b3dda92cedd84 (diff)
Don't use -no-integrated-as on Darwin
It breaks building for the iOS simulator. FossilOrigin-Name: f4e99b94d29f31c1ed45b1b9a22eea967517f3f0987857b58201dfe17e6dc4da
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b7c24f02..e2bbd4c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -253,6 +253,10 @@ case "$OBJC" in
OBJCFLAGS="$OBJCFLAGS $flag"
OBJFW_OBJCFLAGS="$OBJFW_OBJCFLAGS $flag"
;;
+ dnl Don't use -no-integrated-as on Darwin. It breaks
+ dnl building for the iOS simulator.
+ i?86-*-darwin* | x86_64-*-darwin*)
+ ;;
dnl Many older Clang versions don't support jmp short.
i?86-*-* | x86_64-*-*)
ASFLAGS="$ASFLAGS -no-integrated-as"