diff options
author | Jan Lehnardt <jan@apache.org> | 2009-11-23 01:32:53 +0300 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2009-11-23 01:42:02 +0300 |
commit | 9c1034b1832ea861fdacd4788dea4686c33bacc5 (patch) | |
tree | 83247bcfab55cb4a8a53074f2f17555bdd252288 /configure | |
parent | 0433d828cffaaf1a6a69a8ba175a172ae1af0f11 (diff) |
detect ccache and bail out since v8 doens't like to build with ccache
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure index 2e4b18cf11e..bb1e754ce5a 100755 --- a/configure +++ b/configure @@ -1,5 +1,12 @@ #! /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 |