Fix build problems with LuaJIT

(was caused by 12b714424d92d35fe7f5cdd25659e49b0fed2eec)
This commit is contained in:
Stefan 2016-11-25 13:07:39 +01:00 committed by Maksim Gamarnik
parent a413e73b8d
commit aa9ca89ec2
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,6 @@
#!/bin/bash -e #!/bin/bash -e
. ../sdk.sh . ../sdk.sh
IPHONEOS_DEPLOYMENT_TARGET=
FREETYPE_VERSION=2.7 FREETYPE_VERSION=2.7
if [ ! -d freetype-src ]; then if [ ! -d freetype-src ]; then

View File

@ -2,9 +2,9 @@
# This file sets the appropiate compiler and flags for compiling for iOS without XCode # This file sets the appropiate compiler and flags for compiling for iOS without XCode
sdk=iphoneos sdk=iphoneos
osver=8.0
export IOS_COMPILER=$(xcrun --sdk $sdk --find clang) export IOS_COMPILER=$(xcrun --sdk $sdk --find clang)
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export IOS_CC=$IOS_COMPILER export IOS_CC=$IOS_COMPILER
export IOS_CXX=$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"