From: Debian Qt/KDE Maintainers Date: Sat, 5 May 2018 01:53:17 +0000 (+0100) Subject: _webkit_no_gc_sections X-Git-Tag: archive/raspbian/4%4.8.7+dfsg-16+rpi1^2~23 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=13a514249b96df58fd1b874f4faf022b5170633b;p=qt4-x11.git _webkit_no_gc_sections Gbp-Pq: Name 96_webkit_no_gc_sections.diff --- diff --git a/src/3rdparty/webkit/Source/WebCore/WebCore.pri b/src/3rdparty/webkit/Source/WebCore/WebCore.pri index ef7a88351..3f56296fc 100644 --- a/src/3rdparty/webkit/Source/WebCore/WebCore.pri +++ b/src/3rdparty/webkit/Source/WebCore/WebCore.pri @@ -317,7 +317,7 @@ mac { } unix:!mac:*-g++*:QMAKE_CXXFLAGS += -ffunction-sections -fdata-sections -unix:!mac:*-g++*:QMAKE_LFLAGS += -Wl,--gc-sections +unix:!mac:*-g++*:!equals(QT_ARCH, powerpc):!equals(QT_ARCH, s390):!equals(QT_ARCH, mips):!equals(QT_ARCH, arm):QMAKE_LFLAGS += -Wl,--gc-sections linux*-g++*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui QtNetwork