From: Debian Qt/KDE Maintainers Date: Thu, 15 Dec 2016 20:22:14 +0000 (+0000) Subject: no_gc_sections X-Git-Tag: archive/raspbian/5.212.0_alpha2-6+rpi1~5^2^2^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c643a536524e1e43f1ad626b6d89d115e51412c3;p=qtwebkit-opensource-src.git no_gc_sections Gbp-Pq: Name no_gc_sections.diff --- diff --git a/Source/WebCore/WebCore.pri b/Source/WebCore/WebCore.pri index 37cde573..cd79c1ca 100644 --- a/Source/WebCore/WebCore.pri +++ b/Source/WebCore/WebCore.pri @@ -314,7 +314,7 @@ mac { unix:!mac:*-g++*:QMAKE_CXXFLAGS += -ffunction-sections } unix:!mac:*-g++*:QMAKE_CXXFLAGS += -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):!equals(QT_ARCH, i386):!equals(QT_ARCH, i686):QMAKE_LFLAGS += -Wl,--gc-sections linux*-g++*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF enable_fast_mobile_scrolling: DEFINES += ENABLE_FAST_MOBILE_SCROLLING=1