diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-10-15 12:41:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-15 12:41:42 +0200 |
commit | 25f89a847c2d7c5d3d36af28d4ef44f050afc0da (patch) | |
tree | 3a73e14679e165bfcbbb3415dfe65fcff9232f69 /platform/javascript/detect.py | |
parent | e2bfb27efb858c4a1314d314386531cbcdfcf335 (diff) | |
parent | cd21cc683a565a775b31aad4bd1e61d6c791d5ed (diff) | |
download | redot-engine-25f89a847c2d7c5d3d36af28d4ef44f050afc0da.tar.gz |
Merge pull request #53827 from akien-mga/scons-debug-dev-enabled-sconstruct
Diffstat (limited to 'platform/javascript/detect.py')
-rw-r--r-- | platform/javascript/detect.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py index 9494ab6fa5..891ae419bd 100644 --- a/platform/javascript/detect.py +++ b/platform/javascript/detect.py @@ -77,12 +77,9 @@ def configure(env): env.Append(LINKFLAGS=["-Os"]) if env["target"] == "release_debug": - env.Append(CPPDEFINES=["DEBUG_ENABLED"]) # Retain function names for backtraces at the cost of file size. env.Append(LINKFLAGS=["--profiling-funcs"]) else: # "debug" - env.Append(CPPDEFINES=["DEBUG_ENABLED"]) - env.Append(CPPDEFINES=["DEV_ENABLED"]) env.Append(CCFLAGS=["-O1", "-g"]) env.Append(LINKFLAGS=["-O1", "-g"]) env["use_assertions"] = True |