projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add -Werror to xcompile's testcc
[coreboot.git]
/
util
/
xcompile
/
xcompile
diff --git
a/util/xcompile/xcompile
b/util/xcompile/xcompile
index 9a0a295c75d86e2a91b9bf09978e5db1bce23aa8..49263941dfa10d9d1ae47d884b661fa960f76ed1 100644
(file)
--- a/
util/xcompile/xcompile
+++ b/
util/xcompile/xcompile
@@
-21,7
+21,7
@@
testcc()
{
echo "_start(void) {}" > .$$$$.c
- $1 -nostdlib $2 .$$$$.c -o .$$$$.tmp 2>/dev/null >/dev/null
+ $1 -nostdlib
-Werror
$2 .$$$$.c -o .$$$$.tmp 2>/dev/null >/dev/null
ret=$?
rm -f .$$$$.c .$$$$.tmp
return $ret