clib: fix build and avoid detecting leaks (#6260)

This commit is contained in:
DavidKorczynski 2021-08-20 16:16:50 +01:00 committed by GitHub
parent c1b71d9304
commit 111e379157
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -29,8 +29,10 @@ $CC $CFLAGS -Wno-unused-function -U__STRICT_ANSI__ \
-I./deps/asprintf
$CC $CFLAGS $LIB_FUZZING_ENGINE fuzz_manifest.o \
-o $OUT/fuzz_manifest src/common/clib-package.c \
-o $OUT/fuzz_manifest src/common/clib-settings.c src/common/clib-package.c \
src/common/clib-cache.c src/clib-configure.c \
-I./deps/asprintf -I./deps -I./asprintf \
fuzz_lib.a -L/usr/lib/x86_64-linux-gnu -lcurl
echo "[libfuzzer]" > $OUT/fuzz_manifest.options
echo "detect_leaks=0" >> $OUT/fuzz_manifest.options