pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/thunderbird Explicitly remove -g if not using deb...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ee7e39f284b8
branches:  trunk
changeset: 639356:ee7e39f284b8
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Sep 11 13:47:46 2014 +0000

description:
Explicitly remove -g if not using debug option. Significantly reduces
memory foot print of ld.

diffstat:

 mail/thunderbird/options.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r a354cd1a4c1d -r ee7e39f284b8 mail/thunderbird/options.mk
--- a/mail/thunderbird/options.mk       Thu Sep 11 13:46:30 2014 +0000
+++ b/mail/thunderbird/options.mk       Thu Sep 11 13:47:46 2014 +0000
@@ -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 @@
 .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)



Home | Main Index | Thread Index | Old Index