aboutsummaryrefslogtreecommitdiff
path: root/projects/envoy
diff options
context:
space:
mode:
authorLizan Zhou <lizan.j@gmail.com>2019-07-10 15:19:11 -0700
committerjonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2019-07-10 15:19:11 -0700
commit3092faf7c00cd79bd0ed1616eb1debcde40d1448 (patch)
tree497317f54a766b344207c3f6baa6152fcaf2e78e /projects/envoy
parentcb7abb7c64aed49ff006e5cb9d561e18c98827d0 (diff)
downloadoss-fuzz-3092faf7c00cd79bd0ed1616eb1debcde40d1448.tar.gz
[envoy] define force_libcpp=enabled (#2586)
* envoy: force_libcpp=enabled Signed-off-by: Lizan Zhou <lizan@tetrate.io> * fix Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Diffstat (limited to 'projects/envoy')
-rwxr-xr-xprojects/envoy/build.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/projects/envoy/build.sh b/projects/envoy/build.sh
index 495b3433e..4de90cae7 100755
--- a/projects/envoy/build.sh
+++ b/projects/envoy/build.sh
@@ -25,10 +25,6 @@ declare -r FUZZER_TARGETS="$(for t in ${FUZZER_TARGETS_CC}; do echo "${t:2:-3}";
FUZZER_DICTIONARIES="\
"
-# Skip gperftools, ASAN runs don't use tcmalloc.
-export DISABLE_GPERFTOOLS_BUILD=1
-sed -i 's#envoy_dependencies()#envoy_dependencies(skip_targets=["tcmalloc_and_profiler","tcmalloc_debug"])#' WORKSPACE
-
# Copy $CFLAGS and $CXXFLAGS into Bazel command-line flags, for both
# compilation and linking.
#
@@ -70,7 +66,7 @@ bazel build --verbose_failures --dynamic_mode=off --spawn_strategy=standalone \
--copt=-fno-sanitize=vptr --linkopt=-fno-sanitize=vptr \
--define tcmalloc=disabled --define signal_trace=disabled \
--define ENVOY_CONFIG_ASAN=1 --copt -D__SANITIZE_ADDRESS__ \
- --build_tag_filters=-no_asan \
+ --define force_libcpp=enabled --build_tag_filters=-no_asan \
${EXTRA_BAZEL_FLAGS} \
${BAZEL_BUILD_TARGETS[*]} ${BAZEL_CORPUS_TARGETS[*]}