Skip to content

Instantly share code, notes, and snippets.

@mgaudet
Created November 18, 2020 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgaudet/026e67c8c1985653052abc784b61f601 to your computer and use it in GitHub Desktop.
Save mgaudet/026e67c8c1985653052abc784b61f601 to your computer and use it in GitHub Desktop.
# Flags set for targeting x86.
export CROSS_COMPILE=1
CC="gcc -m32 -mfpmath=sse -msse -msse2"
CXX="g++ -m32 -mfpmath=sse -msse -msse2"
AR=ar
ac_add_options --target=i686-pc-linux
ac_add_options --enable-application=js
ac_add_options --enable-simulator=arm
ac_add_options --disable-optimize
ac_add_options --enable-debug
# Dump opt builds into another dir.
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-debug-shell-armsim-@CONFIG_GUESS@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment