mirror of
https://github.com/DaveGamble/cJSON.git
synced 2024-12-25 20:30:50 +08: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 ..
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user