summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/xcompile/xcompile2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 9a0a295c75..49263941df 100644
--- 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