Skip to content

Instantly share code, notes, and snippets.

@raphkoebraam
Last active October 2, 2015 12:07
Show Gist options
  • Save raphkoebraam/bb7529366a25cba66c8f to your computer and use it in GitHub Desktop.
Save raphkoebraam/bb7529366a25cba66c8f to your computer and use it in GitHub Desktop.

Revisions

  1. Raphael Silva revised this gist Oct 2, 2015. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions configure-ios
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    #!/bin/sh

    export CC="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-darwin"
    export CPP="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -E"
    export CXX="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-darwin"
  2. Raphael Silva created this gist Oct 2, 2015.
    7 changes: 7 additions & 0 deletions configure-ios
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    export CC="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-darwin"
    export CPP="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -E"
    export CXX="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-darwin"
    export CPPFLAGS="-target arm64-apple-darwin -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/ -miphoneos-version-min=9.0"
    export LDFLAGS="-target arm64-apple-darwin -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk"

    ./configure --host=aarch64-apple-darwin