Permalink
Browse files

detect ccache and bail out since v8 doens't like to build with ccache

  • Loading branch information...
1 parent 0433d82 commit 9c1034b1832ea861fdacd4788dea4686c33bacc5 @janl janl committed with ry Nov 22, 2009
Showing with 7 additions and 0 deletions.
  1. +7 −0 configure
View
@@ -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

0 comments on commit 9c1034b

Please sign in to comment.