From a8521a41e9d74948b58847541fdd70f1133b57d0 Mon Sep 17 00:00:00 2001 From: htuch Date: Thu, 9 Aug 2018 14:25:15 -0400 Subject: [PATCH] [envoy] add -lc++fs linkopt to fix build failure (#1698) Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9700. Signed-off-by: Harvey Tuch --- projects/envoy/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/envoy/build.sh b/projects/envoy/build.sh index 03253789d..ec6fd90b1 100755 --- a/projects/envoy/build.sh +++ b/projects/envoy/build.sh @@ -49,7 +49,7 @@ declare -r BAZEL_BUILD_TARGETS="$(for t in ${FUZZER_TARGETS}; do \ echo //"$(dirname "$t")":"$(basename "$t")_driverless"; done)" bazel build --verbose_failures --dynamic_mode=off --spawn_strategy=standalone \ --genrule_strategy=standalone --strip=never \ - --copt=-fno-sanitize=vptr --linkopt=-fno-sanitize=vptr \ + --copt=-fno-sanitize=vptr --linkopt=-fno-sanitize=vptr --linkopt=-lc++fs \ --define tcmalloc=disabled --define signal_trace=disabled \ --define ENVOY_CONFIG_ASAN=1 --copt -D__SANITIZE_ADDRESS__ \ --define force_libcpp=enabled \