diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-09-23 16:45:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-23 16:45:12 +0200 |
commit | f74491fdee9bc2d68668137fbacd8f3a7e7e8df7 (patch) | |
tree | b5f98590d90e8545b102f67de3e2f61f1fcd6404 /platform/android/detect.py | |
parent | 56e847ef653ce2b818b9f2095452b6c0c0c44d54 (diff) | |
parent | 26e9145c26e6a6c2794300a4a7cf5b19e8b6be37 (diff) |
Merge pull request #66303 from akien-mga/scons-cleanup-debug-defines
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 f36e7e2a7f..2ff9cd3dc5 100644 --- a/platform/android/detect.py +++ b/platform/android/detect.py @@ -124,12 +124,9 @@ def configure(env): env.Append(CCFLAGS=[opt]) elif env["optimize"] == "size": # optimize for size env.Append(CCFLAGS=["-Oz"]) - env.Append(CPPDEFINES=["NDEBUG"]) elif env["target"] == "debug": env.Append(LINKFLAGS=["-O0"]) - env.Append(CCFLAGS=["-O0", "-g", "-fno-limit-debug-info"]) - env.Append(CPPDEFINES=["_DEBUG"]) - env.Append(CPPFLAGS=["-UNDEBUG"]) + env.Append(CCFLAGS=["-O0", "-g"]) # LTO |