From 72e3e0741184ed3f68ba18c462e661c8c8cd1f53 Mon Sep 17 00:00:00 2001 From: DavidKorczynski Date: Thu, 19 May 2022 22:01:54 +0100 Subject: [PATCH] libgit2: fix build (#7721) Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=46031 --- projects/libgit2/build.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/projects/libgit2/build.sh b/projects/libgit2/build.sh index 7ebd703c4..9e72ca70e 100755 --- a/projects/libgit2/build.sh +++ b/projects/libgit2/build.sh @@ -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"