Skip to content

Commit

Permalink
Set min ios simulator version to 7.0 (fixes nesterenkodm#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
chebur committed Feb 2, 2015
1 parent e74a2a9 commit 6a242a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -279,14 +279,14 @@ function armv7s() { _build "armv7s"; }
function arm64() { _build "arm64"; }
function i386() {
export DEVPATH="`xcrun -sdk iphonesimulator --show-sdk-platform-path`/Developer"
export CFLAGS="-I${OPENSSL_DIR}/include -O2 -m32 -mios-simulator-version-min=6.0"
export LDFLAGS="-L${OPENSSL_DIR}/lib -O2 -m32 -mios-simulator-version-min=6.0"
export CFLAGS="-I${OPENSSL_DIR}/include -O2 -m32 -mios-simulator-version-min=7.0"
export LDFLAGS="-L${OPENSSL_DIR}/lib -O2 -m32 -mios-simulator-version-min=7.0"
_build "i386"
}
function x86_64() {
export DEVPATH="`xcrun -sdk iphonesimulator --show-sdk-platform-path`/Developer"
export CFLAGS="-I${OPENSSL_DIR}/include -O2 -m32 -mios-simulator-version-min=6.0"
export LDFLAGS="-L${OPENSSL_DIR}/lib -O2 -m32 -mios-simulator-version-min=6.0"
export CFLAGS="-I${OPENSSL_DIR}/include -O2 -m32 -mios-simulator-version-min=7.0"
export LDFLAGS="-L${OPENSSL_DIR}/lib -O2 -m32 -mios-simulator-version-min=7.0"
_build "x86_64"
}

Expand Down

0 comments on commit 6a242a4

Please sign in to comment.