aboutsummaryrefslogtreecommitdiffstats
path: root/build/conf/compilers
diff options
context:
space:
mode:
authorpg <pg@yandex-team.com>2023-09-26 01:04:52 +0300
committerpg <pg@yandex-team.com>2023-09-26 01:30:36 +0300
commite59979638bc2adc44a8892b637e10333bb1ca098 (patch)
tree2d9a8b33a1fdd35eb8d7d1b2e05d432f39d8dfe3 /build/conf/compilers
parent15b8ce0fc8187747cee3c0c3abc61f6792721f1c (diff)
downloadydb-e59979638bc2adc44a8892b637e10333bb1ca098.tar.gz
Diffstat (limited to 'build/conf/compilers')
-rw-r--r--build/conf/compilers/gnu_compiler.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/conf/compilers/gnu_compiler.conf b/build/conf/compilers/gnu_compiler.conf
index 57004dec9b..42a918e5ec 100644
--- a/build/conf/compilers/gnu_compiler.conf
+++ b/build/conf/compilers/gnu_compiler.conf
@@ -54,6 +54,10 @@ when ($CLANG16 == "yes") {
LDFLAGS+=-L/CLANG16_YES_PLEASE
}
+when ($MSAN_TRACK_ORIGIN == "yes") {
+ CFLAGS+=-fsanitize-memory-track-origins=2
+}
+
when ($ARCH_XTENSA == "yes") {
FSTACK=
}