mirror of https://github.com/google/oss-fuzz.git
Build AFL libs with -O2, #421
This commit is contained in:
parent
e1d6f4a4fa
commit
534c720afc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue