mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
388 B
23 lines
388 B
#! /bin/sh
|
|
|
|
# v8 doesn't like ccache
|
|
if [ ! -z "`echo $CC | grep ccache`" ]; then
|
|
echo "Error: V8 doesn't like cache. Please set your CC env var to 'gcc'"
|
|
echo " (ba)sh: export CC=gcc"
|
|
exit 1
|
|
fi
|
|
|
|
CUR_DIR=$PWD
|
|
|
|
#possible relative path
|
|
WORKINGDIR=`dirname $0`
|
|
cd $WORKINGDIR
|
|
#abs path
|
|
WORKINGDIR=`pwd`
|
|
cd $CUR_DIR
|
|
|
|
WAF="${WORKINGDIR}/tools/waf-light"
|
|
|
|
"${WAF}" configure $*
|
|
|
|
exit $?
|
|
|