summaryrefslogtreecommitdiff
path: root/platform/android/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-09-23 16:45:12 +0200
committerGitHub <noreply@github.com>2022-09-23 16:45:12 +0200
commitf74491fdee9bc2d68668137fbacd8f3a7e7e8df7 (patch)
treeb5f98590d90e8545b102f67de3e2f61f1fcd6404 /platform/android/detect.py
parent56e847ef653ce2b818b9f2095452b6c0c0c44d54 (diff)
parent26e9145c26e6a6c2794300a4a7cf5b19e8b6be37 (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.py5
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