From db5a35acae079a6a65ff4f504f2b9d914ada4c85 Mon Sep 17 00:00:00 2001 From: zeroimpl Date: Sun, 11 Sep 2016 23:15:23 -0400 Subject: [PATCH] Enable bitcode for iOS 10 SDK and beyond --- build-libssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-libssl.sh b/build-libssl.sh index 8030f9c..5eb83a7 100755 --- a/build-libssl.sh +++ b/build-libssl.sh @@ -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}"