ossfuzz: build with c++ compiler

This commit is contained in:
Randy 2019-10-22 13:37:41 +02:00
parent 73b0e739d0
commit 49a0ede475
1 changed files with 1 additions and 2 deletions

View File

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