mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
SCons: Ensure CPPDEFINES
is properly utilized
This commit is contained in:
parent
d5cb0f948e
commit
61956f2e06
9 changed files with 80 additions and 88 deletions
|
@ -144,7 +144,7 @@ def configure(env: "SConsEnvironment"):
|
|||
|
||||
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"])
|
||||
env.Append(CPPDEFINES=["SANITIZERS_ENABLED"])
|
||||
|
||||
if env["use_ubsan"]:
|
||||
env.Append(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue