Skip to content

Instantly share code, notes, and snippets.

@zzzhc
Forked from rc1/gist:69b2c49d0efaebeafd08
Created November 23, 2015 10:49
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 zzzhc/f30383dc3462026a5631 to your computer and use it in GitHub Desktop.
Save zzzhc/f30383dc3462026a5631 to your computer and use it in GitHub Desktop.
Building node.js for Raspberry Pi 2 (with Armv7 and Neon support)
export CC='gcc -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon'
export CXX='g++ -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon'
./configure --without-snapshot
make -j4
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment