diff options
author | joerg <joerg@pkgsrc.org> | 2015-03-31 16:00:21 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-03-31 16:00:21 +0000 |
commit | 1b85b52995f6e992f495dc10857e84e332502506 (patch) | |
tree | c2ec5e7d7b388d231eba1a2826d120c83d700247 /x11 | |
parent | dc061e36c56ec746145d1f175dd44264e1deccd6 (diff) | |
download | pkgsrc-1b85b52995f6e992f495dc10857e84e332502506.tar.gz |
Instruct ld to be more conservative with memory on NetBSD/ARM.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/qt5-qtwebkit/Makefile | 6 |
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 && \ |