iOS: add -miphoneos-version-min
This commit is contained in:
parent
28a07bf0c9
commit
2ee447ff14
@ -3,9 +3,10 @@
|
|||||||
export XCODEDIR=$(xcode-select -p)
|
export XCODEDIR=$(xcode-select -p)
|
||||||
export BASEDIR="${XCODEDIR}/Platforms/iPhoneOS.platform/Developer"
|
export BASEDIR="${XCODEDIR}/Platforms/iPhoneOS.platform/Developer"
|
||||||
export PATH="${BASEDIR}/usr/bin:$BASEDIR/usr/sbin:$PATH"
|
export PATH="${BASEDIR}/usr/bin:$BASEDIR/usr/sbin:$PATH"
|
||||||
export SDK="${BASEDIR}/SDKs/iPhoneOS8.0.sdk"
|
export SDK="${BASEDIR}/SDKs/iPhoneOS.sdk"
|
||||||
export CFLAGS="-Oz -mthumb -arch armv7 -isysroot ${SDK}"
|
export IPHONEOS_VERSION_MIN="5.1.1"
|
||||||
export LDFLAGS="-mthumb -arch armv7 -isysroot ${SDK}"
|
export CFLAGS="-Oz -mthumb -arch armv7 -isysroot ${SDK} -miphoneos-version-min=${IPHONEOS_VERSION_MIN}"
|
||||||
|
export LDFLAGS="-mthumb -arch armv7 -isysroot ${SDK} -miphoneos-version-min=${IPHONEOS_VERSION_MIN}"
|
||||||
export PREFIX="$(pwd)/libsodium-ios"
|
export PREFIX="$(pwd)/libsodium-ios"
|
||||||
|
|
||||||
./configure --host=arm-apple-darwin10 \
|
./configure --host=arm-apple-darwin10 \
|
||||||
|
Loading…
Reference in New Issue
Block a user