Enable bitcode for iOS 10 SDK and beyond

This commit is contained in:
zeroimpl 2016-09-11 23:15:23 -04:00
parent 07d20320c6
commit db5a35acae
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}"