summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-06-01 08:56:56 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-06-01 08:56:56 +0000
commit6b895b6cf64dda2c44b963ae207c7389759ee0c4 (patch)
tree6c3d46cb0cb1400ea0a5f373247d238a4981b12d /eclass
parentadd missing IUSE as per bug #224375, remove old versions (diff)
downloadgentoo-2-6b895b6cf64dda2c44b963ae207c7389759ee0c4.tar.gz
gentoo-2-6b895b6cf64dda2c44b963ae207c7389759ee0c4.tar.bz2
gentoo-2-6b895b6cf64dda2c44b963ae207c7389759ee0c4.zip
Fix tc-arch-kernel for freebsd: it is still i386 there, bug #222715
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-funcs.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index bc97cefe0e04..b0c60c369246 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.76 2008/04/16 14:16:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.77 2008/06/01 08:56:56 aballier Exp $
# @ECLASS: toolchain-funcs.eclass
# @MAINTAINER:
@@ -173,7 +173,8 @@ ninj() { [[ ${type} == "kern" ]] && echo $1 || echo $2 ; }
i?86*)
# Starting with linux-2.6.24, the 'x86_64' and 'i386'
# trees have been unified into 'x86'.
- if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -lt $(KV_to_int 2.6.24) ]] ; then
+ # FreeBSD still uses i386
+ if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -lt $(KV_to_int 2.6.24) || ${host} == *freebsd* ]] ; then
echo i386
else
echo x86