use a bigger "drop -g compiler flag" hammer on s390
This commit is contained in:
parent
f7f4b75b2a
commit
003945f410
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue