0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-21 21:19:50 +01:00
nodejs/configure

22 lines
388 B
Plaintext
Raw Normal View History

#! /bin/sh
2010-10-26 03:17:19 +02:00
# v8 doesn't like ccache
if [ ! -z "`echo $CC | grep ccache`" ]; then
2011-08-26 22:38:45 +02:00
echo "Error: V8 doesn't like ccache. Please set your CC env var to 'gcc'"
echo " (ba)sh: export CC=gcc"
exit 1
fi
2010-10-26 03:17:19 +02:00
CUR_DIR=$PWD
#possible relative path
WORKINGDIR=`dirname $0`
cd "$WORKINGDIR"
#abs path
WORKINGDIR=`pwd`
cd "$CUR_DIR"
"${WORKINGDIR}/tools/waf-light" --jobs=1 configure $*
exit $?