mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-09-08 03:39:25 -04:00
detect.sh: use -Wno-error
Don't let -Werror interfere with the feature detection.
This commit is contained in:
parent
a0f88e7787
commit
09f14551d8
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user