summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-03-11 15:32:25 +0000
committerFabian Groffen <grobian@gentoo.org>2011-03-11 15:32:25 +0000
commite42384ab9d41bfff86abc936380bbd8603b26ca0 (patch)
tree7b2d9dd93f4ba45645c45b36ddd83c89fc6bca48 /eclass
parentVersion bump, drop old (diff)
downloadhistorical-e42384ab9d41bfff86abc936380bbd8603b26ca0.tar.gz
historical-e42384ab9d41bfff86abc936380bbd8603b26ca0.tar.bz2
historical-e42384ab9d41bfff86abc936380bbd8603b26ca0.zip
use CTARGET iso CHOST, as pointed out by SpanKY
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index ea55ac1a6eb5..238c5cdd8375 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.451 2011/03/01 00:13:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.452 2011/03/11 15:32:25 grobian Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1317,7 +1317,7 @@ gcc_do_configure() {
# for things like libobjc-gnu, libgcj and libfortran. If we enable it on
# non-Darwin we screw up the behaviour this eclass relies on. We in
# particular need this over --libdir for bug #255315.
- [[ ${CHOST} == *-darwin* ]] && \
+ [[ ${CTARGET} == *-darwin* ]] && \
confgcc="${confgcc} --enable-version-specific-runtime-libs"
# All our cross-compile logic goes here ! woo !