diff options
Diffstat (limited to 'src/scripts')
-rwxr-xr-x | src/scripts/ci/build.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scripts/ci/build.sh b/src/scripts/ci/build.sh index 2d75a3901..2f8f00350 100755 --- a/src/scripts/ci/build.sh +++ b/src/scripts/ci/build.sh @@ -9,6 +9,8 @@ elif [ "$BUILD_MODE" = "shared" ]; then elif [ "$BUILD_MODE" = "coverage" ]; then # lcov gets confused by symlinks CFG_FLAGS="--build-mode=coverage --link-method=copy" +elif [ "$BUILD_MODE" = "sanitizer" ]; then + CFG_FLAGS="--cc-abi-flags='-D_GLIBCXX_DEBUG -fsanitize=address -fsanitize=undefined'" fi $CXX --version |