summaryrefslogtreecommitdiff
path: root/x11/qt5-qtwebkit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/qt5-qtwebkit/Makefile')
-rw-r--r--x11/qt5-qtwebkit/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11/qt5-qtwebkit/Makefile b/x11/qt5-qtwebkit/Makefile
index c87901a6c30..1821b8adb0b 100644
--- a/x11/qt5-qtwebkit/Makefile
+++ b/x11/qt5-qtwebkit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2015/02/21 23:35:43 ryoon Exp $
+# $NetBSD: Makefile,v 1.24 2015/03/31 16:00:21 joerg Exp $
DISTNAME= qtwebkit-opensource-src-${QTVERSION}
PKGNAME= qt5-qtwebkit-${QTVERSION}
@@ -22,6 +22,10 @@ BUILDLINK_TRANSFORM+= R:${WRKSRC}/lib:${QTDIR}/lib
BUILDLINK_TRANSFORM+= rpath:${WRKSRC}/lib:${QTDIR}/lib
.endif
+.if ${OPSYS} == "NetBSD" && ${MACHINE_CPU:U} == "arm"
+LDFLAGS+= -Wl,-no-keep-memory -Wl-reduce-memory
+.endif
+
post-install:
.for i in Qt5WebKit.pc Qt5WebKitWidgets.pc
cd ${DESTDIR}${PREFIX}/lib/pkgconfig && \