From 92b7d40f845e62938bde5b5285dbbad67dd99431 Mon Sep 17 00:00:00 2001 From: Eugene Kliuchnikov Date: Mon, 18 Jun 2018 16:22:10 +0200 Subject: [PATCH] Update brotli build script (#1528) Brotli fuzzer is being converted to C99 in google/brotli#686 --- projects/brotli/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/brotli/build.sh b/projects/brotli/build.sh index 74145122e..6570d0962 100755 --- a/projects/brotli/build.sh +++ b/projects/brotli/build.sh @@ -4,8 +4,8 @@ cmake . -DBUILD_TESTING=OFF make clean make -j$(nproc) brotlidec-static -$CXX $CXXFLAGS -std=c++11 -I. \ - c/fuzz/decode_fuzzer.cc -I./c/include -o $OUT/decode_fuzzer \ +$CXX $CXXFLAGS -std=c99 -I. \ + c/fuzz/decode_fuzzer.c -I./c/include -o $OUT/decode_fuzzer \ -lFuzzingEngine ./libbrotlidec-static.a ./libbrotlicommon-static.a cp java/org/brotli/integration/fuzz_data.zip $OUT/decode_fuzzer_seed_corpus.zip