diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-03-27 00:12:00 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-03-27 00:12:00 -0400 |
commit | 2787680051ad539035542fadecc125d4e555482f (patch) | |
tree | b440f0ed76a9fba2acf5da87da324b0c0472a4da /tools | |
parent | 84452f145ea15c7b59e3ae24ecaae672b824b4e5 (diff) | |
download | seabios-2787680051ad539035542fadecc125d4e555482f.tar.gz |
Use CC consistently in test-gcc.sh script.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/test-gcc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |