mirror of https://github.com/google/oss-fuzz.git
Fix build coverage of libprotobuf-mutator (#598)
This commit is contained in:
parent
a22bad13f9
commit
55701f3699
|
@ -21,10 +21,13 @@ cp -f $SRC/*.dict $SRC/*.options $OUT/
|
|||
mkdir -p build
|
||||
pushd build
|
||||
rm -rf *
|
||||
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release \
|
||||
|
||||
CXXFLAGS="$CXXFLAGS -Wl,-lpthread -Wno-unused-command-line-argument" \
|
||||
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release \
|
||||
-DLIB_PROTO_MUTATOR_WITH_ASAN=OFF \
|
||||
-DLIB_PROTO_MUTATOR_WITH_COVERAGE_FLAGS=OFF \
|
||||
-DLIB_PROTO_MUTATOR_FUZZER_LIBRARIES=FuzzingEngine
|
||||
ninja libxml2_example expat_example
|
||||
ninja libxml2_example expat_example
|
||||
cp -f examples/libxml2/libxml2_example $OUT/
|
||||
cp -f examples/expat/expat_example $OUT/
|
||||
popd
|
||||
|
|
Loading…
Reference in New Issue