mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
SCons: Fix debug_symbols tests after switch to BoolVariable
Bug introduced in #45679. Fixes part of #45816.
This commit is contained in:
parent
57e2822a05
commit
849c090343
7 changed files with 12 additions and 12 deletions
|
|
@ -92,7 +92,7 @@ def configure(env):
|
|||
else: # optimize for size
|
||||
env.Prepend(CCFLAGS=["-Os"])
|
||||
|
||||
if env["debug_symbols"] == "yes":
|
||||
if env["debug_symbols"]:
|
||||
env.Prepend(CCFLAGS=["-g2"])
|
||||
|
||||
elif env["target"] == "release_debug":
|
||||
|
|
@ -102,7 +102,7 @@ def configure(env):
|
|||
env.Prepend(CCFLAGS=["-Os"])
|
||||
env.Prepend(CPPDEFINES=["DEBUG_ENABLED"])
|
||||
|
||||
if env["debug_symbols"] == "yes":
|
||||
if env["debug_symbols"]:
|
||||
env.Prepend(CCFLAGS=["-g2"])
|
||||
|
||||
elif env["target"] == "debug":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue