summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2013-10-14 12:21:08 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-14 14:01:07 +0200
commitf6069ba2adac13eee941a300595aa3c0a445fc1a (patch)
tree705d9e94b074e5f8be7a4297f2cbc98f5a91f469
parent94a1886a019f20cddd534ef116355d6602d7b3c5 (diff)
downloadqtwebkit-f6069ba2adac13eee941a300595aa3c0a445fc1a.tar.gz
Improve backtraces on linux 64bit
On linux builds we force most debug symbols off in the WTF, JavaScriptCore and WebCore submodules of QtWebKit. We do this to make linking possible on 32bit but results in very poor backtraces from our users. Since this is only needed on 32bit, we should disable it on 64bit. Change-Id: I5009bb254471dc2213569b0cd011f283d6edfb95 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
-rw-r--r--Tools/qmake/mkspecs/features/production_build.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/qmake/mkspecs/features/production_build.prf b/Tools/qmake/mkspecs/features/production_build.prf
index c980d09d0..b570e7fe1 100644
--- a/Tools/qmake/mkspecs/features/production_build.prf
+++ b/Tools/qmake/mkspecs/features/production_build.prf
@@ -7,7 +7,7 @@ CONFIG *= use_all_in_one_files
# resulting in the need of several gigabytes of memory at link-time. Reduce the pressure
# by compiling any static library like WTF or JSC with release flags instead and keep debug
# symbols for the static libraries that implement API.
-linux-*|win32-g++*:if(CONFIG(debug, debug|release)|contains(QT_CONFIG,separate_debug_info)):contains(TEMPLATE, lib):staticlib {
+linux-*|win32-g++*:!contains(QMAKE_HOST.arch, x86_64):if(CONFIG(debug, debug|release)|contains(QT_CONFIG,separate_debug_info)):contains(TEMPLATE, lib):staticlib {
!equals(TARGET, WebKit2):!equals(TARGET, WebKitWidgets) {
CONFIG += no_debug_info
CONFIG -= separate_debug_info