LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File reduce-link-optimization.diff of Package libQtWebKit4 (Project KDE:Qt)

Index: webkit-qtwebkit-23/Source/WebCore/WebCore.pri
===================================================================
--- webkit-qtwebkit-23.orig/Source/WebCore/WebCore.pri	2013-02-18 14:25:04.705311898 +0000
+++ webkit-qtwebkit-23/Source/WebCore/WebCore.pri	2013-02-18 14:25:04.701311898 +0000
@@ -345,6 +345,8 @@ mac {
     unix:!mac:*-g++*:QMAKE_CXXFLAGS += -ffunction-sections
 }
 unix:!mac:*-g++*:QMAKE_CXXFLAGS += -fdata-sections
+unix:!mac:*-g++*:!equals(QT_ARCH, powerpc):!equals(QT_ARCH, s390):!equals(QT_ARCH, mips):!equals(QT_ARCH, arm):QMAKE_LFLAGS += -Wl,--no-keep-memory
+unix:!mac:*-g++*:!equals(QT_ARCH, powerpc):!equals(QT_ARCH, s390):!equals(QT_ARCH, mips):!equals(QT_ARCH, arm):QMAKE_LFLAGS += -Wl,--reduce-memory-overheads
 unix:!mac:*-g++*:QMAKE_LFLAGS += -Wl,--gc-sections
 linux*-g++*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF