aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigel Tao <nigeltao@golang.org>2021-03-25 11:38:15 +1100
committerGitHub <noreply@github.com>2021-03-25 00:38:15 +0000
commitfccea98eb75bfbf11d701300261bd1feda8ea66f (patch)
tree765a032e81544c6aeda13296e537ef6db30d37f4
parent6c2bed9d03c21f12636bf38ee32c28d96cc8b97b (diff)
downloadoss-fuzz-fccea98eb75bfbf11d701300261bd1feda8ea66f.tar.gz
[wuffs] Don't build with -std=c99 (#5497)
MAP_ANONYMOUS, getpagesize and strnlen do not mix with c99. Updates #32432 "wuffs: Fuzzing build failure"
-rwxr-xr-xprojects/wuffs/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/wuffs/build.sh b/projects/wuffs/build.sh
index d51af38cf..b8d4f5366 100755
--- a/projects/wuffs/build.sh
+++ b/projects/wuffs/build.sh
@@ -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