diff --git a/infra/base-images/base-libfuzzer/compile b/infra/base-images/base-libfuzzer/compile index da7be92c4..5a688ab98 100755 --- a/infra/base-images/base-libfuzzer/compile +++ b/infra/base-images/base-libfuzzer/compile @@ -20,15 +20,12 @@ echo "---------------------------------------------------------------" echo -n "Compiling libFuzzer into /usr/lib/libfuzzer.a ..." mkdir -p /work/libfuzzer cd /work/libfuzzer -mkdir -p /work/lib $CXX $CXXFLAGS -std=c++11 $SANITIZER_FLAGS -c /src/libfuzzer/*.cpp -I/src/libfuzzer -ar ruv /work/lib/libfuzzer.a /work/libfuzzer/*.o -rm -rf /work/libfuzzer +ar ruv /usr/lib/libfuzzer.a /work/libfuzzer/*.o echo "Done." export CFLAGS="$CFLAGS $SANITIZER_FLAGS $COV_FLAGS" export CXXFLAGS="$CFLAGS $CXXFLAGS_EXTRA" -export FUZZER_LDFLAGS="$FUZZER_LDFLAGS -L/work/lib" echo "CC=$CC" echo "CXX=$CXX"