From 9bfe4d0518e4aa3effd806c99cd9f88edde241cd Mon Sep 17 00:00:00 2001 From: Felix Schulze Date: Sun, 25 Oct 2015 22:21:39 +0100 Subject: [PATCH] Bitcode for Xcode 7.1 Fixes #65 --- build-libssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-libssl.sh b/build-libssl.sh index 5bea544..9024a2b 100755 --- a/build-libssl.sh +++ b/build-libssl.sh @@ -106,7 +106,7 @@ do esac fi - if [ "${SDKVERSION}" == "9.0" ]; then + if [[ $SDKVERSION == 9.* ]]; then export CC="${BUILD_TOOLS}/usr/bin/gcc -arch ${ARCH} -fembed-bitcode" else export CC="${BUILD_TOOLS}/usr/bin/gcc -arch ${ARCH}"