summaryrefslogtreecommitdiff
path: root/www/webkit-gtk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2015-03-31 15:56:29 +0000
committerjoerg <joerg@pkgsrc.org>2015-03-31 15:56:29 +0000
commit557887274d1f3ccb8cdf3f73e3fa3495bb9be339 (patch)
treeb8bfd960b7db276315b6005dd61ae1c9c532bf05 /www/webkit-gtk
parentc181301c580d4d312b5ea6d58af38ca6c4e36b39 (diff)
downloadpkgsrc-557887274d1f3ccb8cdf3f73e3fa3495bb9be339.tar.gz
Allow linking on NetBSD/ARM by asking ld to save memory.
Diffstat (limited to 'www/webkit-gtk')
-rw-r--r--www/webkit-gtk/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/webkit-gtk/Makefile b/www/webkit-gtk/Makefile
index a63ee90444a..8c31ba1798f 100644
--- a/www/webkit-gtk/Makefile
+++ b/www/webkit-gtk/Makefile
@@ -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 @@ COMMENT= GTK2 port of the WebKit browser engine
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"