From 003945f41065a9288ce4f934d5de9dd6af69ed01 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 22 Jun 2011 09:34:06 -0500 Subject: [PATCH] use a bigger "drop -g compiler flag" hammer on s390 --- ...tch => webkit-qtwebkit-2.2-debuginfo.patch | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) rename webkit-qtwebkit-2.2-javascriptcore_debuginfo.patch => webkit-qtwebkit-2.2-debuginfo.patch (59%) diff --git a/webkit-qtwebkit-2.2-javascriptcore_debuginfo.patch b/webkit-qtwebkit-2.2-debuginfo.patch similarity index 59% rename from webkit-qtwebkit-2.2-javascriptcore_debuginfo.patch rename to webkit-qtwebkit-2.2-debuginfo.patch index 0e7a26f..f868aab 100644 --- a/webkit-qtwebkit-2.2-javascriptcore_debuginfo.patch +++ b/webkit-qtwebkit-2.2-debuginfo.patch @@ -1,6 +1,6 @@ diff -up webkit-qtwebkit/Source/JavaScriptCore/JavaScriptCore.pro.javascriptcore_debuginfo webkit-qtwebkit/Source/JavaScriptCore/JavaScriptCore.pro --- webkit-qtwebkit/Source/JavaScriptCore/JavaScriptCore.pro.javascriptcore_debuginfo 2011-06-21 12:13:07.000000000 -0500 -+++ webkit-qtwebkit/Source/JavaScriptCore/JavaScriptCore.pro 2011-06-21 13:42:02.919456263 -0500 ++++ webkit-qtwebkit/Source/JavaScriptCore/JavaScriptCore.pro 2011-06-22 07:42:40.365535990 -0500 @@ -22,12 +22,20 @@ contains(QT_CONFIG, embedded):CONFIG += contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions @@ -23,3 +23,21 @@ diff -up webkit-qtwebkit/Source/JavaScriptCore/JavaScriptCore.pro.javascriptcore *-g++*:QMAKE_CXXFLAGS_RELEASE -= -O2 *-g++*:QMAKE_CXXFLAGS_RELEASE += -O3 +diff -up webkit-qtwebkit/Source/WebCore/WebCore.pri.javascriptcore_debuginfo webkit-qtwebkit/Source/WebCore/WebCore.pri +--- webkit-qtwebkit/Source/WebCore/WebCore.pri.javascriptcore_debuginfo 2011-06-21 12:13:07.000000000 -0500 ++++ webkit-qtwebkit/Source/WebCore/WebCore.pri 2011-06-22 08:36:58.159265977 -0500 +@@ -289,6 +289,14 @@ contains(DEFINES, ENABLE_WEBGL=1)|contai + CONFIG += no_debug_info + } + ++# optimize for low mem arch s390 (disable debugging, etc...) ++equals(QT_ARCH, s390): { ++ CONFIG -= separate_debug_info ++ CONFIG += no_debug_info ++ QMAKE_CXXFLAGS_RELEASE -= -g ++ QMAKE_CFLAGS_RELEASE -= -g ++} ++ + contains (CONFIG, text_breaking_with_icu) { + LIBS += -licuuc + }