mirror of https://github.com/google/oss-fuzz.git
Simplify libprotobuf-mutator build script. (#604)
This commit is contained in:
parent
f576b352b4
commit
c26e33145d
|
@ -21,11 +21,7 @@ cp -f $SRC/*.dict $SRC/*.options $OUT/
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
pushd build
|
pushd build
|
||||||
rm -rf *
|
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
|
-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/libxml2/libxml2_example $OUT/
|
||||||
|
|
Loading…
Reference in New Issue