summaryrefslogtreecommitdiff
path: root/platform/linuxbsd/detect.py
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-04-01 14:44:47 +0200
committerGitHub <noreply@github.com>2022-04-01 14:44:47 +0200
commit916ec2b66e193d58cd16c6a1704f1c49fe589bd0 (patch)
tree5ed96474b5dc4e3f5af32c75bf65c11a28791f9a /platform/linuxbsd/detect.py
parent26048c805b5b5912c7ccf8deb06be23c561b0fa0 (diff)
parentba0317be04168f73dab7a1492485276cfe3d4b2c (diff)
Merge pull request #59782 from bruvzg/clang_ci_san
Diffstat (limited to 'platform/linuxbsd/detect.py')
-rw-r--r--platform/linuxbsd/detect.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
index 03c85d09ad..f3a6004356 100644
--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -162,6 +162,7 @@ def configure(env):
if env["use_ubsan"] or env["use_asan"] or env["use_lsan"] or env["use_tsan"] or env["use_msan"]:
env.extra_suffix += ".san"
+ env.Append(CCFLAGS=["-DSANITIZERS_ENABLED"])
if env["use_ubsan"]:
env.Append(