summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xCI/before_script.linux.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/CI/before_script.linux.sh b/CI/before_script.linux.sh
index 2a10ae2b78..801d7f0a3e 100755
--- a/CI/before_script.linux.sh
+++ b/CI/before_script.linux.sh
@@ -58,7 +58,7 @@ cd build
if [[ "${BUILD_TESTS_ONLY}" ]]; then
# flags specific to our test suite
- CXX_FLAGS="-Wno-error=deprecated-declarations -Wno-error=nonnull -Wno-error=deprecated-copy"
+ CXX_FLAGS="-Wno-error=deprecated-declarations -Wno-error=nonnull -Wno-error=deprecated-copy -fsanitize=address"
if [[ "${CXX}" == 'clang++' ]]; then
CXX_FLAGS="${CXX_FLAGS} -Wno-error=unused-lambda-capture -Wno-error=gnu-zero-variadic-macro-arguments"
fi