diff options
author | Simon Warta <[email protected]> | 2017-01-02 23:34:14 +0100 |
---|---|---|
committer | Simon Warta <[email protected]> | 2017-01-03 00:14:20 +0100 |
commit | cfcc24e9d54a5b3c31de8b4a82e55f4ac55ecb82 (patch) | |
tree | 917e5cb7d0cb467ab85906c13f6468e1d2a14ab8 /src/scripts/ci/travis | |
parent | 4536a57020cdfb1c58316375999d3e50be704e92 (diff) |
Add os ios
Diffstat (limited to 'src/scripts/ci/travis')
-rwxr-xr-x | src/scripts/ci/travis/build.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scripts/ci/travis/build.sh b/src/scripts/ci/travis/build.sh index 22c3ba1ca..a27cde117 100755 --- a/src/scripts/ci/travis/build.sh +++ b/src/scripts/ci/travis/build.sh @@ -75,8 +75,10 @@ if [ "${BUILD_MODE:0:6}" = "cross-" ]; then CFG_FLAGS+=(--disable-shared) MAKE_PREFIX=(xcrun --sdk iphoneos) if [ "$BUILD_MODE" = "cross-arm32" ]; then + CFG_FLAGS+=(--os=ios) CFG_FLAGS+=(--cpu=armv7 --cc-abi-flags="-arch armv7 -arch armv7s -stdlib=libc++") elif [ "$BUILD_MODE" = "cross-arm64" ]; then + CFG_FLAGS+=(--os=ios) CFG_FLAGS+=(--cpu=armv8-a --cc-abi-flags="-arch arm64 -stdlib=libc++") fi elif [ "$TRAVIS_OS_NAME" = "linux" ]; then |