libgit2: fix build (#7721)

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=46031
This commit is contained in:
DavidKorczynski 2022-05-19 22:01:54 +01:00 committed by GitHub
parent 8d0f7ef8d4
commit 72e3e07411
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -32,7 +32,6 @@ do
fuzzer_name=$(basename "${fuzzer%.c}")
$CC $CFLAGS -c -I./src -I../src/libgit2 -I../src/util -I../include \
-DLIBGIT2_NO_FEATURES_H \
"$fuzzer" -o "$WORK/$fuzzer_name.o"
$CXX $CXXFLAGS -std=c++11 -o "$OUT/$fuzzer_name" \
$LIB_FUZZING_ENGINE "$WORK/$fuzzer_name.o" "$WORK/lib/libgit2.a"