[X2Go-Commits] [x2goclient] 73/87: x2goclient.pro: Enable -O2 in debug mode.
git-admin at x2go.org
git-admin at x2go.org
Wed Mar 4 22:14:56 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 4fed829f0d6b14a8a818cf9b15134c84a28cb489
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 9c5075c..8be0098 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -237,6 +237,8 @@ x2goclient (4.0.3.2-0x2go1) unstable; 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.
-- X2Go Release Manager <git-admin at x2go.org> Thu, 19 Feb 2015 12:49:22 +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/code.x2go.org/x2goclient.git//../..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list