summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-10-07 03:39:15 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-10-07 03:39:15 +0000
commit28036c376342dd7384b69279baf344624aabe17a (patch)
treed4e82265fdcd5f03ca7e8303c954dd15ec36f9ac /eclass
parentSome changes for amd64 2006.0. (diff)
downloadgentoo-2-28036c376342dd7384b69279baf344624aabe17a.tar.gz
gentoo-2-28036c376342dd7384b69279baf344624aabe17a.tar.bz2
gentoo-2-28036c376342dd7384b69279baf344624aabe17a.zip
Fall back on CHOST_default for CTARGET_default if CTARGET is not set.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/multilib.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
index 5a89a33160b5..a48ac5b18c2c 100644
--- a/eclass/multilib.eclass
+++ b/eclass/multilib.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/multilib.eclass,v 1.38 2005/10/07 02:24:47 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.39 2005/10/07 03:39:15 eradicator Exp $
#
# Author: Jeremy Huddleston <eradicator@gentoo.org>
#
@@ -99,7 +99,7 @@ export DEFAULT_ABI=${DEFAULT_ABI:-"default"}
export CFLAGS_default
export LDFLAGS_default
export CHOST_default=${CHOST_default:-${CHOST}}
-export CTARGET_default=${CTARGET_default:-${CTARGET}}
+export CTARGET_default=${CTARGET_default:-${CTARGET:-${CHOST_default}}}
export LIBDIR_default=${CONF_LIBDIR:-"lib"}
export CDEFINE_default="__unix__"