summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjan Iversen <jani@libreoffice.org>2017-09-11 09:03:46 +0200
committerjan Iversen <jani@libreoffice.org>2017-09-12 13:58:15 +0200
commit6534fa1c2af838162453bf83a874af53e4e1a567 (patch)
treee4a5f6dec8c72f1c320d9944ba081528d57fdef8
parent01554ccd201cdbccbe3bb76812ef51ece0f8d777 (diff)
iOS, add flag for bitcode (64bit)
flag for bitcode needed for compiling some of the xml stuff. Change-Id: I0b696279180916757a1996fcc689e69326d22ddb
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 6828b0ec6e2c..edfc281ebfb0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2952,7 +2952,7 @@ if test $_os = iOS; then
versionmin=-mios-simulator-version-min=9.3
if test "$host_cpu" = "arm64"; then
XCODE_ARCHS=x86_64
- BITNESS_OVERRIDE=64
+ BITNESS=-fembed-bitcode
else
XCODE_ARCHS=i386
fi
@@ -2961,7 +2961,7 @@ if test $_os = iOS; then
versionmin=-miphoneos-version-min=9.3
if test "$host_cpu" = "arm64"; then
XCODE_ARCHS=arm64
- BITNESS_OVERRIDE=64
+ BITNESS=-fembed-bitcode
else
XCODE_ARCHS=arm
fi
@@ -2998,8 +2998,8 @@ if test $_os = iOS; then
XCODE_CLANG_CXX_LIBRARY=libc++
stdlib="-stdlib=$XCODE_CLANG_CXX_LIBRARY"
- CC="`xcrun -find clang` -arch $XCODE_ARCHS -fvisibility=hidden -isysroot $sysroot $lto $versionmin"
- CXX="`xcrun -find clang++` -arch $XCODE_ARCHS -fvisibility=hidden $stdlib -isysroot $sysroot $lto $versionmin"
+ CC="`xcrun -find clang` -arch $XCODE_ARCHS -fvisibility=hidden $BITNESS -isysroot $sysroot $lto $versionmin"
+ CXX="`xcrun -find clang++` -arch $XCODE_ARCHS -fvisibility=hidden $stdlib $BITNESS -isysroot $sysroot $lto $versionmin"
INSTALL_NAME_TOOL=`xcrun -find install_name_tool`
AR=`xcrun -find ar`