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/android/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/android/detect.py')
-rw-r--r-- | platform/android/detect.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/platform/android/detect.py b/platform/android/detect.py index 6b0c60fe8b..6f98dab2cc 100644 --- a/platform/android/detect.py +++ b/platform/android/detect.py @@ -197,13 +197,10 @@ def configure(env): env.Append(CPPDEFINES=["NDEBUG"]) if can_vectorize: env.Append(CCFLAGS=["-ftree-vectorize"]) - if env["target"] == "release_debug": - env.Append(CPPDEFINES=["DEBUG_ENABLED"]) elif env["target"] == "debug": env.Append(LINKFLAGS=["-O0"]) env.Append(CCFLAGS=["-O0", "-g", "-fno-limit-debug-info"]) - env.Append(CPPDEFINES=["_DEBUG", "DEBUG_ENABLED"]) - env.Append(CPPDEFINES=["DEV_ENABLED"]) + env.Append(CPPDEFINES=["_DEBUG"]) env.Append(CPPFLAGS=["-UNDEBUG"]) # Compiler configuration |