Browse Source

Update build commands for ios builds

release/v0.1
Shailesh 8 years ago
parent
commit
2a434985f8
  1. 3
      crypto777/m_ios
  2. 12
      iguana/m_ios

3
crypto777/m_ios

@ -4,5 +4,6 @@ AR="$(xcrun --sdk iphoneos --find ar)"
echo Compiling .. echo Compiling ..
$CC -I /usr/local/opt/curl/include/ -c -O2 *.c jpeg/*.c jpeg/unix/*.c -I/usr/local/opt/ #$CC -I /usr/local/opt/curl/include/ -c -O2 *.c jpeg/*.c jpeg/unix/*.c -I/usr/local/opt/
$CC -Wno-deprecated -I /usr/local/opt/curl/include/ -c -O2 *.c jpeg/*.c jpeg/unix/*.c -I/usr/local/opt/
rm -f ../agents/libcrypto777.a; $AR -rcs ../agents/libcrypto777.a *.o rm -f ../agents/libcrypto777.a; $AR -rcs ../agents/libcrypto777.a *.o

12
iguana/m_ios

@ -1,6 +1,9 @@
set -x set -x
CC="$(xcrun --sdk iphoneos --find clang) -isysroot $(xcrun --sdk iphoneos --show-sdk-path) -arch arm64 -ONLY_ACTIVE_ARCH=YES" #CC="$(xcrun --sdk iphoneos --find clang) -isysroot $(xcrun --sdk iphoneos --show-sdk-path) -arch arm64 -ONLY_ACTIVE_ARCH=YES"
CC="$(xcrun --sdk iphoneos --find clang) -isysroot $(xcrun --sdk iphoneos --show-sdk-path) -arch armv7 -arch arm64 armv7s"
rm ../agent/iguana *.o
if [[ $# -eq 0 ]]; then if [[ $# -eq 0 ]]; then
git pull git pull
@ -8,4 +11,9 @@ fi
echo CC=$CC echo CC=$CC
$CC -v -o ../agents/iguana -O2 *.c ../ios/lib/libssl.a ../ios/lib/libcrypto.a ../agents/libcrypto777.a -L $(xcrun --sdk iphonesimulator --show-sdk-path)/usr/lib -L ../ios/lib -lcurl -lm #$CC -v -o ../agents/iguana -O2 *.c ../ios/lib/libssl.a ../ios/lib/libcrypto.a ../agents/libcrypto777.a -L $(xcrun --sdk iphonesimulator --show-sdk-path)/usr/lib -L ../ios/lib -lcurl -lm
$CC -v -Wno-deprecated -02 -c -DLIQUIDITY_PROVIDER=1 *.c ../basilisk/basilisk.c ../gecko/gecko.c ../datachain/datachain.c
$CC -v -Wno-deprecated -c -DLIQUIDITY_PROVIDER=1 main.c iguana777.c iguana_bundles.c ../basilisk/basilisk.c
$CC -v -Wno-deprecated -o ../agents/iguana -02 *.o ../ios/lib/libssl.a ../ios/lib/libcrypto.a ../agents/libcrypto777.a -L $(xcrun --sdk iphoneos --show-sdk-path)/usr/lib ../ios/lib/libcurl.a -framework Foundation -lz -framework Security -lm

Loading…
Cancel
Save