You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-21 14:57:09 +00:00
SCons: Fix debug_symbols tests after switch to BoolVariable
Bug introduced in #45679.
Fixes part of #45816.
(cherry picked from commit 849c090343)
Also removes useless `debug_symbols=full` mode.
This commit is contained in:
@@ -57,7 +57,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":
|
||||
@@ -67,7 +67,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":
|
||||
|
||||
Reference in New Issue
Block a user