From efbcadbe12f6463a143ac59500300d87209a8aff Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Tue, 1 Nov 2016 13:19:39 -0700 Subject: [PATCH] putting libfuzzer.a into /usr/lib/ --- infra/base-images/base-libfuzzer/compile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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"