ossfuzz: build with c++ compiler

This commit is contained in:
Randy 2019-10-22 13:37:41 +02:00
parent 73b0e739d0
commit 49a0ede475

View File

@ -8,8 +8,7 @@ cd build
cmake -DBUILD_SHARED_LIBS=OFF -DENABLE_CJSON_TEST=OFF .. cmake -DBUILD_SHARED_LIBS=OFF -DENABLE_CJSON_TEST=OFF ..
make -j$(nproc) make -j$(nproc)
$CC $CFLAGS -std=c89 -I. \ $CXX $CXXFLAGS $SRC/cjson/fuzzing/cjson_read_fuzzer.c -I. \
$SRC/cjson/fuzzing/cjson_read_fuzzer.c \
-o $OUT/cjson_read_fuzzer \ -o $OUT/cjson_read_fuzzer \
$LIB_FUZZING_ENGINE $SRC/cjson/build/libcjson.a $LIB_FUZZING_ENGINE $SRC/cjson/build/libcjson.a