diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-11-21 14:28:31 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-11-21 14:28:31 +0000 |
commit | d0c9612bf7867ff3d79a6f1e9c9aa601d9b4a9ab (patch) | |
tree | 406d56bc6485c4ec507aa7a93897570f9db33dbb /eclass/bsdmk.eclass | |
parent | new release (diff) | |
download | historical-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.eclass | 8 |
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> |