[wuffs] Don't build with -std=c99 (#5497)

MAP_ANONYMOUS, getpagesize and strnlen do not mix with c99.

Updates #32432 "wuffs: Fuzzing build failure"
This commit is contained in:
Nigel Tao 2021-03-25 11:38:15 +11:00 committed by GitHub
parent 6c2bed9d03
commit fccea98eb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ for f in fuzz/c/std/*_fuzzer.c; do
# Make the "gzip_fuzzer" binary. First compile the (C) Wuffs code, then link
# the (C++) fuzzing library.
$CC $CFLAGS -c -std=c99 $f -o $WORK/${b}_fuzzer.o
$CC $CFLAGS -c $f -o $WORK/${b}_fuzzer.o
$CXX $CXXFLAGS $WORK/${b}_fuzzer.o -o $OUT/${b}_fuzzer $LIB_FUZZING_ENGINE
# Make the optional "gzip_fuzzer_seed_corpus.zip" archive. This means