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
commitd0c9612bf7867ff3d79a6f1e9c9aa601d9b4a9ab (patch)
tree406d56bc6485c4ec507aa7a93897570f9db33dbb /eclass/bsdmk.eclass
parentnew release (diff)
downloadhistorical-d0c9612bf7867ff3d79a6f1e9c9aa601d9b4a9ab.tar.gz
historical-d0c9612bf7867ff3d79a6f1e9c9aa601d9b4a9ab.tar.bz2
historical-d0c9612bf7867ff3d79a6f1e9c9aa601d9b4a9ab.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>