diff --git a/iguana/secp256k1/m_ios b/iguana/secp256k1/m_ios new file mode 100755 index 000000000..0e76ee092 --- /dev/null +++ b/iguana/secp256k1/m_ios @@ -0,0 +1,3 @@ +CC="$(xcrun --sdk iphoneos --find clang) -isysroot $(xcrun --sdk iphoneos --show-sdk-path) -arch arm64 -arch armv7 -arch armv7s -ONLY_ACTIVE_ARCH=YES" + +$CC -o ../sec256k1.o -I. -I./src -I./include -I./src -O3 -W -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings -fvisibility=hidden -DHAVE_CONFIG_H -c src/secp256k1.c