From 940d5e0b5093897bc53b53fe06b0674bd84e227a Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Thu, 13 Oct 2016 16:41:33 -0700 Subject: [PATCH] fixing build after 941e47d6e1e0be44470cf55cda4205315c36f171 --- boringssl/build.sh | 1 + harfbuzz/build.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/boringssl/build.sh b/boringssl/build.sh index d2b0da59e..0fa94eef8 100755 --- a/boringssl/build.sh +++ b/boringssl/build.sh @@ -20,6 +20,7 @@ cd /work/boringssl CFLAGS="$CFLAGS -DBORINGSSL_UNSAFE_FUZZER_MODE" CXXFLAGS="$CXXFLAGS -DBORINGSSL_UNSAFE_FUZZER_MODE" +export LDFLAGS=$FUZZER_LDFLAGS cmake -GNinja -DCMAKE_C_COMPILER=$CC -DCMAKE_CXX_COMPILER=$CXX \ -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ diff --git a/harfbuzz/build.sh b/harfbuzz/build.sh index 4fd0e1429..07726039a 100755 --- a/harfbuzz/build.sh +++ b/harfbuzz/build.sh @@ -19,6 +19,7 @@ cd /src/harfbuzz # Build the library. ./autogen.sh +export LDFLAGS=$FUZZER_LDFLAGS ./configure make clean all