Add -fembed-bitcode to the iOS 64 target, for WatchOS and TVOS

This commit is contained in:
Frank Denis 2017-07-31 14:54:15 +02:00
parent 580bf7a19d
commit b5b67d074e

View File

@ -91,8 +91,8 @@ make distclean > /dev/null
make -j3 install || exit 1 make -j3 install || exit 1
## 64-bit iOS ## 64-bit iOS
export CFLAGS="-O2 -arch arm64 -isysroot ${SDK} -mios-version-min=${IOS_VERSION_MIN} -flto" export CFLAGS="-O2 -arch arm64 -isysroot ${SDK} -mios-version-min=${IOS_VERSION_MIN} -flto -fembed-bitcode"
export LDFLAGS="-arch arm64 -isysroot ${SDK} -mios-version-min=${IOS_VERSION_MIN} -flto" export LDFLAGS="-arch arm64 -isysroot ${SDK} -mios-version-min=${IOS_VERSION_MIN} -flto -fembed-bitcode"
make distclean > /dev/null make distclean > /dev/null