pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/webkit-gtk Allow linking on NetBSD/ARM by asking l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/991ef1fe818e
branches:  trunk
changeset: 649097:991ef1fe818e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Mar 31 15:56:29 2015 +0000

description:
Allow linking on NetBSD/ARM by asking ld to save memory.

diffstat:

 www/webkit-gtk/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r f20ce46974d0 -r 991ef1fe818e www/webkit-gtk/Makefile
--- a/www/webkit-gtk/Makefile   Tue Mar 31 15:55:44 2015 +0000
+++ b/www/webkit-gtk/Makefile   Tue Mar 31 15:56:29 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.86 2014/08/03 22:30:05 wiz Exp $
+# $NetBSD: Makefile,v 1.87 2015/03/31 15:56:29 joerg Exp $
 
 .include "Makefile.common"
 
@@ -9,6 +9,10 @@
 CONFIGURE_ARGS+=       --with-gtk=2.0
 CONFIGURE_ARGS+=       --disable-webkit2
 
+.if ${OPSYS} == "NetBSD" && ${MACHINE_CPU:U} == "arm"
+LDFLAGS+=      -Wl,-no-keep-memory -Wl,-reduce-memory
+.endif
+
 #introspection support
 BUILDLINK_API_DEPENDS.gtk2+=   gtk2+>=2.24.17nb3
 .include "../../x11/gtk2/buildlink3.mk"



Home | Main Index | Thread Index | Old Index