Hard-coding iOS 5.0 minimum doesn't work for mame (and likely others)

This commit is contained in:
T. Joseph Carter 2015-03-20 18:50:36 -07:00
parent 09e54d730d
commit e712e5fe19

View File

@ -30,11 +30,13 @@ case "$platform" in
IOSVER_MAJOR=${iosver%.*} IOSVER_MAJOR=${iosver%.*}
IOSVER_MINOR=${iosver#*.} IOSVER_MINOR=${iosver#*.}
IOSVER=${IOSVER_MAJOR}${IOSVER_MINOR} IOSVER=${IOSVER_MAJOR}${IOSVER_MINOR}
MIN_IOS5="-miphoneos-version-min=5.0"
MIN_IOS7="-miphoneos-version-min=7.0"
# Tell system clang to build for iOS # Tell system clang to build for iOS
CC="clang -arch armv7 -miphoneos-version-min=5.0 -isysroot $IOSSDK" CC="clang -arch armv7 -isysroot $IOSSDK"
CXX="clang++ -arch armv7 -miphoneos-version-min=5.0 -isysroot $IOSSDK" CXX="clang++ -arch armv7 -isysroot $IOSSDK"
CXX11="clang++ -std=c++11 -stdlib=libc++ -arch armv7 -miphoneos-version-min=5.0 -isysroot $IOSSDK" CXX11="clang++ -std=c++11 -stdlib=libc++ -arch armv7 -isysroot $IOSSDK"
;; ;;