Skip to content

Instantly share code, notes, and snippets.

@TooTallNate
Created September 21, 2013 23:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TooTallNate/6655320 to your computer and use it in GitHub Desktop.
Save TooTallNate/6655320 to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
export AR=arm-unknown-linux-gnueabi-ar
export CC=arm-unknown-linux-gnueabi-gcc
export CXX=arm-unknown-linux-gnueabi-g++
export LINK="$CXX"
export CFLAGS="-march=armv6j -mfpu=vfp -mfloat-abi=hard"
export CXXFLAGS="$CFLAGS"
make binary BINARYNAME=node-v`python tools/getnodeversion.py`-linux-arm-pi DESTCPU=arm CONFIG_FLAGS="--without-dtrace --dest-os=linux"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment