Skip to content

Instantly share code, notes, and snippets.

@varavut
Created April 15, 2012 06:09
Show Gist options
  • Save varavut/2390355 to your computer and use it in GitHub Desktop.
Save varavut/2390355 to your computer and use it in GitHub Desktop.
rebuild SpiderMonkey
sudo apt-get install curl
sudo curl -O ftp://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz
sudo tar xvzf js185-1.0.0.tar.gz
cd js/src
export CFLAGS="-DJS_C_STRINGS_ARE_UTF8"
make -f Makefile.ref
JS_DIST=/usr make -f Makefile.ref export
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment