mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
ossfuzz: build with c++ compiler
This commit is contained in:
parent
73b0e739d0
commit
49a0ede475
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user