[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 <htuch@google.com>
This commit is contained in:
htuch 2018-08-09 14:25:15 -04:00 committed by Max Moroz
parent b8a87a862e
commit a8521a41e9
1 changed files with 1 additions and 1 deletions

View File

@ -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 \