From 2787680051ad539035542fadecc125d4e555482f Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 27 Mar 2009 00:12:00 -0400 Subject: Use CC consistently in test-gcc.sh script. --- tools/test-gcc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/test-gcc.sh b/tools/test-gcc.sh index c08ed823..f3b8b58d 100755 --- a/tools/test-gcc.sh +++ b/tools/test-gcc.sh @@ -9,7 +9,7 @@ TMPFILE2o=out/tmp_testcompile2.o TMPFILE3o=out/tmp_testcompile3.o # Test for "-fwhole-program" -gcc -fwhole-program -S -o /dev/null -xc /dev/null > /dev/null 2>&1 +$CC -fwhole-program -S -o /dev/null -xc /dev/null > /dev/null 2>&1 if [ $? -ne 0 ]; then echo "This version of gcc does not support -fwhole-program." > /dev/fd/2 echo "Please upgrade to gcc v4.1 or later" > /dev/fd/2 -- cgit