summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-09-11 13:47:46 +0000
committerjoerg <joerg@pkgsrc.org>2014-09-11 13:47:46 +0000
commit5c39f5cc1972a45e2eabc79bd803db93a79fcf6b (patch)
tree075bc8de0e397c356c13535c20ce16e26269c55a /mail
parentcc32f5a4a4f3cda2251d7bb0075c37977023fee1 (diff)
downloadpkgsrc-5c39f5cc1972a45e2eabc79bd803db93a79fcf6b.tar.gz
Explicitly remove -g if not using debug option. Significantly reduces
memory foot print of ld.
Diffstat (limited to 'mail')
-rw-r--r--mail/thunderbird/options.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/thunderbird/options.mk b/mail/thunderbird/options.mk
index e1002590c96..42a0e56a223 100644
--- a/mail/thunderbird/options.mk
+++ b/mail/thunderbird/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.14 2014/07/27 20:04:59 ryoon Exp $
+# $NetBSD: options.mk,v 1.15 2014/09/11 13:47:46 joerg Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.thunderbird
PKG_SUPPORTED_OPTIONS= alsa debug mozilla-jemalloc gnome \
@@ -42,11 +42,12 @@ CONFIGURE_ARGS+= --disable-jemalloc
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug --enable-debug-symbols --disable-optimize
CONFIGURE_ARGS+= --disable-install-strip
-PLIST.debug= yes
+PLIST.debug= yes
.else
CONFIGURE_ARGS+= --disable-debug
CONFIGURE_ARGS+= --enable-optimize=-O2
CONFIGURE_ARGS+= --enable-install-strip
+BUILDLINK_TRANSFORM+= rm:-g
.endif
.if !empty(PKG_OPTIONS:Mpulseaudio)