mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 23:16:30 +01:00
90ab0794df
Some people were reporting waf erroring with thread.error: can't start new thread this seems to fix that problem.
22 lines
383 B
Bash
Executable File
22 lines
383 B
Bash
Executable File
#! /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
|
|
|
|
"${WORKINGDIR}/tools/waf-light" --jobs=1 configure $*
|
|
|
|
exit $?
|