LogoopenSUSE Build Service > Projects
Sign Up | Log In

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

--- Source/WebCore/WebCore.pri
+++ Source/WebCore/WebCore.pri	2011-12-13 16:41:25.860488165 +0100
@@ -327,7 +325,7 @@
 
 unix:!mac:*-g++*:QMAKE_CXXFLAGS += -ffunction-sections -fdata-sections
-unix:!mac:*-g++*:QMAKE_LFLAGS += -Wl,--gc-sections
-linux*-g++*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF
+#unix:!mac:*-g++*:QMAKE_LFLAGS += -Wl,--gc-sections
+linux*-g++*:QMAKE_LFLAGS = -Wl,--reduce-memory-overheads -Wl,--no-keep-memory
 
 unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui QtNetwork
 unix:!mac:!symbian:CONFIG += link_pkgconfig