summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-30 21:35:44 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-30 21:35:44 +0000
commita1f699496471a3b4aa766632134786bc349b0ab9 (patch)
tree79c916a7ded84f79e7abd6a0b9623b1305ea2853 /eclass/freebsd.eclass
parentnew version, fixes some rendering issues with eclipse. thanks to nichoj for ... (diff)
downloadhistorical-a1f699496471a3b4aa766632134786bc349b0ab9.tar.gz
historical-a1f699496471a3b4aa766632134786bc349b0ab9.tar.bz2
historical-a1f699496471a3b4aa766632134786bc349b0ab9.zip
Pass NOFLAGSTRIP to avoid stripping flags (i.e. if they are already stripped).
Diffstat (limited to 'eclass/freebsd.eclass')
-rw-r--r--eclass/freebsd.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/freebsd.eclass b/eclass/freebsd.eclass
index 55cfedccdf5d..0cd31d08fecf 100644
--- a/eclass/freebsd.eclass
+++ b/eclass/freebsd.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/freebsd.eclass,v 1.5 2006/04/19 01:07:22 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/freebsd.eclass,v 1.6 2006/04/30 21:35:44 flameeyes Exp $
#
# Diego Pettenò <flameeyes@gentoo.org>
@@ -86,7 +86,7 @@ freebsd_src_compile() {
esac
# Many things breaks when using ricer flags here
- [[ ${CTARGET} != ${CHOST} ]] || strip-flags
+ [[ -z ${NOFLAGSTRIP} ]] && strip-flags
# Make sure to use FreeBSD definitions while crosscompiling
[[ -z ${BMAKE} ]] && BMAKE="$(freebsd_get_bmake)"