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