summaryrefslogtreecommitdiff
path: root/eclass
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
commit1e6f9a015f5b06503e8c142e5cd69e3e22b70013 (patch)
tree55db98bc2596e81d50843f6ad8205e6922084f88 /eclass
parentnew version, fixes some rendering issues with eclipse. thanks to nichoj for ... (diff)
downloadgentoo-2-1e6f9a015f5b06503e8c142e5cd69e3e22b70013.tar.gz
gentoo-2-1e6f9a015f5b06503e8c142e5cd69e3e22b70013.tar.bz2
gentoo-2-1e6f9a015f5b06503e8c142e5cd69e3e22b70013.zip
Pass NOFLAGSTRIP to avoid stripping flags (i.e. if they are already stripped).
Diffstat (limited to '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)"