diff options
author | Jan Lehnardt <jan@apache.org> | 2009-11-22 23:32:53 +0100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2009-11-22 23:42:02 +0100 |
commit | 9c1034b1832ea861fdacd4788dea4686c33bacc5 (patch) | |
tree | 83247bcfab55cb4a8a53074f2f17555bdd252288 /configure | |
parent | 0433d828cffaaf1a6a69a8ba175a172ae1af0f11 (diff) | |
download | node-new-9c1034b1832ea861fdacd4788dea4686c33bacc5.tar.gz |
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
@@ -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 |