libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / libsodium / dist-build / iphone.sh
blob589b9af4713278155006b6816457d10597400b73
1 #! /bin/sh
3 export XCODEDIR="/Applications/Xcode.app/Contents/Developer"
4 export BASEDIR="${XCODEDIR}/Platforms/iPhoneOS.platform/Developer"
5 export PATH="${BASEDIR}/usr/bin:$BASEDIR/usr/sbin:$PATH"
6 export SDK="${BASEDIR}/SDKs/iPhoneOS6.1.sdk"
7 export CFLAGS="-Oz -mthumb -arch armv7 -isysroot ${SDK}"
8 export LDFLAGS="-mthumb -arch armv7 -isysroot ${SDK}"
10 ./configure --host=arm-apple-darwin10 && make -j3