pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/qt5-qtwebkit Instruct ld to be more conservative w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d2b5fb384f2b
branches:  trunk
changeset: 649099:d2b5fb384f2b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Mar 31 16:00:21 2015 +0000

description:
Instruct ld to be more conservative with memory on NetBSD/ARM.

diffstat:

 x11/qt5-qtwebkit/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 956486382728 -r d2b5fb384f2b x11/qt5-qtwebkit/Makefile
--- a/x11/qt5-qtwebkit/Makefile Tue Mar 31 15:56:45 2015 +0000
+++ b/x11/qt5-qtwebkit/Makefile Tue Mar 31 16:00:21 2015 +0000
@@ -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+=  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 && \



Home | Main Index | Thread Index | Old Index