Skip to content

Commit

Permalink
hiredis: avoid mv in build
Browse files Browse the repository at this point in the history
Ref: google/oss-fuzz-gen#635

Signed-off-by: David Korczynski <[email protected]>
  • Loading branch information
DavidKorczynski committed Sep 20, 2024
1 parent bf53d7f commit 44df528
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions projects/hiredis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 44df528

Please sign in to comment.