summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-21 14:28:31 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-21 14:28:31 +0000
commitbe9e1e258083099ca56c94e4a5140cc18f7cc11d (patch)
treedf72b7f63f92fcd9f7c3bc47e8631aff3c90df80 /eclass/bsdmk.eclass
parentnew release (diff)
downloadgentoo-2-be9e1e258083099ca56c94e4a5140cc18f7cc11d.tar.gz
gentoo-2-be9e1e258083099ca56c94e4a5140cc18f7cc11d.tar.bz2
gentoo-2-be9e1e258083099ca56c94e4a5140cc18f7cc11d.zip
Disable stripping from bsdmk.eclass rather than changing the mk defs.
Diffstat (limited to 'eclass/bsdmk.eclass')
-rw-r--r--eclass/bsdmk.eclass8
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/bsdmk.eclass b/eclass/bsdmk.eclass
index 26e11ac80e5b..453a643a36ed 100644
--- a/eclass/bsdmk.eclass
+++ b/eclass/bsdmk.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/bsdmk.eclass,v 1.5 2006/04/25 16:35:47 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/bsdmk.eclass,v 1.6 2006/11/21 14:28:31 flameeyes Exp $
#
# Otavio R. Piske "AngusYoung" <angusyoung@gentoo.org>
# Diego Pettenò <flameeyes@gentoo.org>
@@ -34,13 +34,15 @@ mkmake() {
tc-export CC CXX LD RANLIB
- ${BMAKE} ${MAKEOPTS} ${EXTRA_EMAKE} ${mymakeopts} NO_WERROR= "$@"
+ ${BMAKE} ${MAKEOPTS} ${EXTRA_EMAKE} ${mymakeopts} NO_WERROR= STRIP= "$@"
}
mkinstall() {
[[ -z ${BMAKE} ]] && BMAKE="$(get_bmake)"
- ${BMAKE} ${mymakeopts} NO_WERROR= DESTDIR="${D}" "$@" install
+ # STRIP= will replace the default value of -s, leaving to portage the
+ # task of stripping executables.
+ ${BMAKE} ${mymakeopts} NO_WERROR= STRIP= DESTDIR="${D}" "$@" install
}
#### dummy_mk <dirnames>