diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-11-11 12:43:55 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-11-13 13:22:17 (GMT) |
commit | c9211c691b370332b9165a9d80f03220789c1d53 (patch) | |
tree | 180d71b1c4509322db91327ebd7e64051757bd5f /mkspecs/linux-g++-maemo | |
parent | c95acfda6aae0dcf4285bb759a271598bb2dccea (diff) | |
download | Qt-c9211c691b370332b9165a9d80f03220789c1d53.zip Qt-c9211c691b370332b9165a9d80f03220789c1d53.tar.gz Qt-c9211c691b370332b9165a9d80f03220789c1d53.tar.bz2 |
Disable optimisations which break stack traces on Maemo
The -O2 mode enables omit-frame-pointer & optimize-sibling-calls, which
can break stack traces. So, even in release mode, disable these
optimisations so that we can at least still get a backtrace when a Qt
application dies.
Reviewed-By: Stefano Pironato
Diffstat (limited to 'mkspecs/linux-g++-maemo')
-rw-r--r-- | mkspecs/linux-g++-maemo/qmake.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mkspecs/linux-g++-maemo/qmake.conf b/mkspecs/linux-g++-maemo/qmake.conf index 2195329..c39ba2c 100644 --- a/mkspecs/linux-g++-maemo/qmake.conf +++ b/mkspecs/linux-g++-maemo/qmake.conf @@ -22,8 +22,8 @@ QMAKE_LIBDIR_X11 = /usr/lib QMAKE_LIBDIR_OPENGL = /usr/lib # We still need to generate debug symbols in release mode to put into the *-dbg packages: -QMAKE_CFLAGS_RELEASE += -g -QMAKE_CXXFLAGS_RELEASE += -g +QMAKE_CFLAGS_RELEASE += -g -fno-omit-frame-pointer -fno-optimize-sibling-calls +QMAKE_CXXFLAGS_RELEASE += -g -fno-omit-frame-pointer -fno-optimize-sibling-calls # Work round PowerVR SGX 1.3 driver bug with glScissor & FBOs: DEFINES += QT_GL_NO_SCISSOR_TEST |