[X2Go-Commits] [x2goclient] 07/09: x2goclient.pro: Enable -O2 in debug mode.

git-admin at x2go.org git-admin at x2go.org
Mon Feb 16 04:15:32 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/cleanup
in repository x2goclient.

commit 97699ff49f9b7d2925334b8e161b614dd0f86b8c
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Mon Feb 16 03:27:36 2015 +0100

    x2goclient.pro: Enable -O2 in debug mode.
    
    Otherwise, debug mode would test different execution paths than release mode.
---
 debian/changelog |    2 ++
 x2goclient.pro   |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index ec6c3a0..3242490 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -211,6 +211,8 @@ x2goclient (4.0.3.2-0x2go1) UNRELEASED; urgency=medium
     - Also accept "FALSE" and "false" as binary values in macbuild.sh.
     - Make bundling optional (but enabled by default) via the new BUNDLE
       environment variable in macbuild.sh.
+    - Enable -O2 in debug mode. Otherwise, debug mode would test different
+      execution paths than release mode.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Thu, 27 Nov 2014 12:01:43 +0100
 
diff --git a/x2goclient.pro b/x2goclient.pro
index d7adb51..4c2cdd4 100644
--- a/x2goclient.pro
+++ b/x2goclient.pro
@@ -211,7 +211,7 @@ PRE_TARGETDEPS += $${TARGET}.app/Contents/Info.plist
 QMAKE_POST_LINK += /bin/cp -n $${ICON} $${OUT_PWD}/$${TARGET}.app/Contents/Resources/
 
 QMAKE_CXXFLAGS_DEBUG -= -g
-QMAKE_CXXFLAGS_DEBUG += -g3 -ggdb3 -gdwarf-4
+QMAKE_CXXFLAGS_DEBUG += -O2 -g3 -ggdb3 -gdwarf-4
 
 plugin {
   DEFINES += CFGPLUGIN

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list