[Webkit-unassigned] [Bug 36508] linker flag "--gc-sections" not supported
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 15 09:28:05 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=36508
Xavier Roche <roche+webkit at exalead.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |roche+webkit at exalead.com
--- Comment #3 from Xavier Roche <roche+webkit at exalead.com> 2011-09-15 09:28:05 PST ---
As suggested by Konstantin Tokarev on the qt-interest list, -ffunction-sections and -fdata-sections are not relevant anymore without --gc-sections
Hence, the following patch might be better
--- src/3rdparty/webkit/WebCore/WebCore.pro.orig Thu Sep 15 16:24:13 2011
+++ src/3rdparty/webkit/WebCore/WebCore.pro Thu Sep 15 16:24:44 2011
@@ -88,8 +88,8 @@
QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui QtNetwork
}
-unix:!mac:*-g++*:QMAKE_CXXFLAGS += -ffunction-sections -fdata-sections
-unix:!mac:*-g++*:QMAKE_LFLAGS += -Wl,--gc-sections
+unix:!mac:*-g++*:!solaris*:QMAKE_CXXFLAGS += -ffunction-sections -fdata-sections
+unix:!mac:*-g++*:!solaris*:QMAKE_LFLAGS += -Wl,--gc-sections
linux*-g++*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF
CONFIG(release):!CONFIG(standalone_package) {
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list