Skip to content

Instantly share code, notes, and snippets.

@werelax
Last active August 29, 2015 13:55
Show Gist options
  • Select an option

  • Save werelax/8787122 to your computer and use it in GitHub Desktop.

Select an option

Save werelax/8787122 to your computer and use it in GitHub Desktop.
Line to build SpiderMonkey with android toolchain (first, open ./configure, search for *-darwing-something and change the "if whatever" for "if false", because this if forces the use of clang by default)
CFLAGS="-mthumb" CXXFLAGS="-mthumb" ./configure --target=arm-linux-androideabi --with-android-ndk=/Users/elias/bin/android-ndk-r9c/ --with-android-toolchain=/tmp/achain/ --disable-shared-js --disable-debug --enable-optimize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment