Skip to content
Newer
Older
100755 22 lines (16 sloc) 387 Bytes
63a9cd3 @ry everything is changed. i've waited much too long to commit.
ry authored
1 #! /bin/sh
2
9c1034b @janl detect ccache and bail out since v8 doens't like to build with ccache
janl authored
3 # v8 doesn't like ccache
4 if [ ! -z "`echo $CC | grep ccache`" ]; then
5 echo "Error: V8 doesn't like cache. Please set your CC env var to 'gcc'"
6 echo " (ba)sh: export CC=gcc"
7 exit 1
8 fi
9
63a9cd3 @ry everything is changed. i've waited much too long to commit.
ry authored
10 CUR_DIR=$PWD
11
12 #possible relative path
13 WORKINGDIR=`dirname $0`
f7ff548 @ry Quote variables in configure script
ry authored
14 cd "$WORKINGDIR"
63a9cd3 @ry everything is changed. i've waited much too long to commit.
ry authored
15 #abs path
16 WORKINGDIR=`pwd`
f7ff548 @ry Quote variables in configure script
ry authored
17 cd "$CUR_DIR"
63a9cd3 @ry everything is changed. i've waited much too long to commit.
ry authored
18
90ab079 @ry Use --jobs=1 with WAF
ry authored
19 "${WORKINGDIR}/tools/waf-light" --jobs=1 configure $*
63a9cd3 @ry everything is changed. i've waited much too long to commit.
ry authored
20
21 exit $?
Something went wrong with that request. Please try again.