mirror of https://github.com/google/oss-fuzz.git
[sqlite3] you have to link libfuzzer with clang++
This commit is contained in:
parent
a27eca33a3
commit
163f49c7ab
|
@ -27,8 +27,11 @@ export CFLAGS="$CFLAGS -DSQLITE_MAX_LENGTH=128000000 \
|
|||
make -j$(nproc)
|
||||
make sqlite3.c
|
||||
|
||||
$CC $CFLAGS -I. \
|
||||
$SRC/sqlite3/test/ossfuzz.c -o $OUT/ossfuzz \
|
||||
$CC $CCFLAGS -I. -c \
|
||||
$SRC/sqlite3/test/ossfuzz.c -o $SRC/sqlite3/test/ossfuzz.o
|
||||
|
||||
$CXX $CXXFLAGS \
|
||||
$SRC/sqlite3/test/ossfuzz.o -o $OUT/ossfuzz \
|
||||
-lfuzzer ./sqlite3.o
|
||||
|
||||
cp $SRC/*.options $SRC/*.dict $SRC/*.zip $OUT/
|
||||
|
|
Loading…
Reference in New Issue