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