diff --git a/programs/detect.sh b/programs/detect.sh index 9139cf6..7d6ff7e 100755 --- a/programs/detect.sh +++ b/programs/detect.sh @@ -13,7 +13,7 @@ trap "rm -f \"$tmpfile\"" EXIT program_compiles() { echo "$1" > "$tmpfile" - $CC $CFLAGS -x c "$tmpfile" -o /dev/null > /dev/null 2>&1 + $CC $CFLAGS -Wno-error -x c "$tmpfile" -o /dev/null > /dev/null 2>&1 } check_function() {