diff --git a/infra/base-images/base-builder/compile_afl b/infra/base-images/base-builder/compile_afl index 3b0384d90..f83178e7c 100644 --- a/infra/base-images/base-builder/compile_afl +++ b/infra/base-images/base-builder/compile_afl @@ -23,7 +23,7 @@ export COVERAGE_FLAGS="-fsanitize-coverage=trace-pc-guard" mkdir -p $WORK/afl pushd $WORK/afl > /dev/null $CC $CFLAGS -c $SRC/afl/llvm_mode/afl-llvm-rt.o.c -$CXX $CXXFLAGS -std=c++11 -c $SRC/libfuzzer/afl/*.cpp -I$SRC/libfuzzer +$CXX $CXXFLAGS -std=c++11 -O2 -c $SRC/libfuzzer/afl/*.cpp -I$SRC/libfuzzer ar r $LIB_FUZZING_ENGINE $WORK/afl/*.o popd > /dev/null rm -rf $WORK/afl