projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84452f1
)
Use CC consistently in test-gcc.sh script.
author
Kevin O'Connor
<kevin@koconnor.net>
Fri, 27 Mar 2009 04:12:00 +0000
(
00:12
-0400)
committer
Kevin O'Connor
<kevin@koconnor.net>
Fri, 27 Mar 2009 04:12:00 +0000
(
00:12
-0400)
tools/test-gcc.sh
patch
|
blob
|
history
diff --git
a/tools/test-gcc.sh
b/tools/test-gcc.sh
index c08ed823b7b6c31cfa767f79a91d1290ba74fac5..f3b8b58db42db2251d86e7c087c4545b5ead3f53 100755
(executable)
--- 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