aboutsummaryrefslogtreecommitdiff
path: root/platform/x11/detect.py
diff options
context:
space:
mode:
authorkoalefant2015-11-29 20:56:27 +0100
committerkoalefant2015-11-29 20:56:27 +0100
commitbd396c5cfa3041b3d47b3bfd0ac44cc832d9f53f (patch)
tree9a22cd1e3d2e1b22cf0852bcbc0847b8a7885e53 /platform/x11/detect.py
parentb0dbcccb6c430cdf8a8f050676427f2414037ef7 (diff)
downloadgodot-bd396c5cfa3041b3d47b3bfd0ac44cc832d9f53f.tar.gz
godot-bd396c5cfa3041b3d47b3bfd0ac44cc832d9f53f.tar.zst
godot-bd396c5cfa3041b3d47b3bfd0ac44cc832d9f53f.zip
Enabled debug symbols for x11 when using platform=release_debug and debug_release=yes together
Diffstat (limited to '')
-rw-r--r--platform/x11/detect.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py
index a37005738..d99658786 100644
--- a/platform/x11/detect.py
+++ b/platform/x11/detect.py
@@ -118,6 +118,8 @@ def configure(env):
elif (env["target"]=="release_debug"):
env.Append(CCFLAGS=['-O2','-ffast-math','-DDEBUG_ENABLED'])
+ if (env["debug_release"]=="yes"):
+ env.Append(CCFLAGS=['-g2'])
elif (env["target"]=="debug"):