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