From b5b67d074e02d63b2aa272b00397075d421b8543 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 31 Jul 2017 14:54:15 +0200 Subject: [PATCH] Add -fembed-bitcode to the iOS 64 target, for WatchOS and TVOS --- dist-build/ios.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist-build/ios.sh b/dist-build/ios.sh index a84aaf99..c08b85ff 100755 --- a/dist-build/ios.sh +++ b/dist-build/ios.sh @@ -91,8 +91,8 @@ make distclean > /dev/null make -j3 install || exit 1 ## 64-bit iOS -export CFLAGS="-O2 -arch arm64 -isysroot ${SDK} -mios-version-min=${IOS_VERSION_MIN} -flto" -export LDFLAGS="-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 -fembed-bitcode" make distclean > /dev/null