Merge pull request #110 from zeroimpl/bitcode-for-ios10

Enable bitcode for iOS 10 SDK and beyond
This commit is contained in:
Felix Schulze 2016-09-12 09:06:57 +02:00 committed by GitHub
commit 762bbc82d4
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ do
esac
fi
if [[ $SDKVERSION == 9.* ]]; then
if [[ $SDKVERSION == 9.* || $SDKVERSION == [0-9][0-9].* ]]; then
export CC="${BUILD_TOOLS}/usr/bin/gcc -arch ${ARCH} -fembed-bitcode"
else
export CC="${BUILD_TOOLS}/usr/bin/gcc -arch ${ARCH}"