From 44df528f28e8fafdd1fab7e893c35486909a7f41 Mon Sep 17 00:00:00 2001 From: David Korczynski Date: Fri, 20 Sep 2024 01:42:44 -0700 Subject: [PATCH] hiredis: avoid mv in build Ref: https://github.com/google/oss-fuzz-gen/issues/635 Signed-off-by: David Korczynski --- projects/hiredis/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/projects/hiredis/build.sh b/projects/hiredis/build.sh index 5a7f2e246a90..15b3948ba2ab 100755 --- a/projects/hiredis/build.sh +++ b/projects/hiredis/build.sh @@ -16,10 +16,9 @@ ################################################################################ make USE_SSL=0 static -mv fuzzing/format_command_fuzzer.c . -$CC $CFLAGS -std=c99 -pedantic -c -O3 -fPIC \ - format_command_fuzzer.c -o format_command_fuzzer.o +$CC $CFLAGS -std=c99 -pedantic -c -O3 -fPIC -I./ \ + fuzzing/format_command_fuzzer.c -o format_command_fuzzer.o $CXX $CXXFLAGS -O3 -fPIC $LIB_FUZZING_ENGINE format_command_fuzzer.o \ -o $OUT/format_command_fuzzer libhiredis.a