Skip to content

Commit

Permalink
iOS: add -miphoneos-version-min
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Nov 20, 2014
1 parent 28a07bf commit 2ee447f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dist-build/ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
export XCODEDIR=$(xcode-select -p)
export BASEDIR="${XCODEDIR}/Platforms/iPhoneOS.platform/Developer"
export PATH="${BASEDIR}/usr/bin:$BASEDIR/usr/sbin:$PATH"
export SDK="${BASEDIR}/SDKs/iPhoneOS8.0.sdk"
export CFLAGS="-Oz -mthumb -arch armv7 -isysroot ${SDK}"
export LDFLAGS="-mthumb -arch armv7 -isysroot ${SDK}"
export SDK="${BASEDIR}/SDKs/iPhoneOS.sdk"
export IPHONEOS_VERSION_MIN="5.1.1"
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"

./configure --host=arm-apple-darwin10 \
Expand Down

0 comments on commit 2ee447f

Please sign in to comment.