From aa9ca89ec2d89df2c616725ba0eaa1a41e29f7c3 Mon Sep 17 00:00:00 2001 From: Stefan Date: Fri, 25 Nov 2016 13:07:39 +0100 Subject: [PATCH] Fix build problems with LuaJIT (was caused by 12b714424d92d35fe7f5cdd25659e49b0fed2eec) --- build/iOS/deps/freetype.sh | 1 - build/iOS/sdk.sh | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/build/iOS/deps/freetype.sh b/build/iOS/deps/freetype.sh index a90694919..abf733452 100755 --- a/build/iOS/deps/freetype.sh +++ b/build/iOS/deps/freetype.sh @@ -1,7 +1,6 @@ #!/bin/bash -e . ../sdk.sh -IPHONEOS_DEPLOYMENT_TARGET= FREETYPE_VERSION=2.7 if [ ! -d freetype-src ]; then diff --git a/build/iOS/sdk.sh b/build/iOS/sdk.sh index 755dcbb9e..e37939461 100755 --- a/build/iOS/sdk.sh +++ b/build/iOS/sdk.sh @@ -2,9 +2,9 @@ # This file sets the appropiate compiler and flags for compiling for iOS without XCode sdk=iphoneos +osver=8.0 export IOS_COMPILER=$(xcrun --sdk $sdk --find clang) -export IPHONEOS_DEPLOYMENT_TARGET=8.0 export IOS_CC=$IOS_COMPILER export IOS_CXX=$IOS_COMPILER -export IOS_FLAGS="-isysroot $(xcrun --sdk $sdk --show-sdk-path) -arch armv7 -arch arm64 -Ofast -fvisibility=hidden" +export IOS_FLAGS="-isysroot $(xcrun --sdk $sdk --show-sdk-path) -arch armv7 -arch arm64 -miphoneos-version-min=$osver -Ofast -fvisibility=hidden"