Enforce embed-bitcode ldflags in ios-sdk

This commit is contained in:
pancake 2018-05-15 11:26:42 +02:00
parent 6107339580
commit 05d092453b
2 changed files with 2 additions and 1 deletions

View file

@ -25,6 +25,7 @@ export USE_IOS_STATIC=0
if [ "${EMBED_BITCODE}" = 1 ]; then
export CFLAGS="$CFLAGS -fembed-bitcode"
export LDFLAGS="$LDFLAGS -fembed-bitcode"
fi
iosConfigure() {

View file

@ -59,7 +59,7 @@ export CC="$(pwd)/sys/ios-sdk-gcc"
export IOSVER=10.2
export IOSINC=/
#$(pwd)/sys/ios-include
export CFLAGS=-O2
export CFLAGS="${CFLAGS} -O2"
export USE_SIMULATOR=1
export RANLIB="xcrun --sdk iphoneos ranlib"