diff options
author | 2011-03-20 22:39:12 +0000 | |
---|---|---|
committer | 2011-03-20 22:39:12 +0000 | |
commit | 7667e9224d598ac6119650132ddb96dd2e17fa5d (patch) | |
tree | aaa98a17191d290ec65ac218ec1adf171d59ef00 /sys-libs/glibc/files | |
parent | x86 stable per bug 356509 (diff) | |
download | gentoo-2-7667e9224d598ac6119650132ddb96dd2e17fa5d.tar.gz gentoo-2-7667e9224d598ac6119650132ddb96dd2e17fa5d.tar.bz2 gentoo-2-7667e9224d598ac6119650132ddb96dd2e17fa5d.zip |
Make sure the forced CC comes from the target and not the host so cross-compiling picks up the right value.
(Portage version: 2.2.0_alpha26/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/glibc/files')
-rw-r--r-- | sys-libs/glibc/files/eblits/common.eblit | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-libs/glibc/files/eblits/common.eblit b/sys-libs/glibc/files/eblits/common.eblit index 6049c483e962..43a7722987ea 100644 --- a/sys-libs/glibc/files/eblits/common.eblit +++ b/sys-libs/glibc/files/eblits/common.eblit @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v 1.20 2011/03/20 22:23:47 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v 1.21 2011/03/20 22:39:12 vapier Exp $ # We need to be able to set alternative headers for # compiling for non-native platform @@ -281,7 +281,7 @@ setup_env() { # configure script checks CFLAGS for some targets (like mips). Keep # around the original clean value to avoid appending multiple ABIs on # top of each other. - : ${__GLIBC_CC:=$(tc-getCC)} + : ${__GLIBC_CC:=$(tc-getCC ${CTARGET_OPT:-${CTARGET}})} export __GLIBC_CC CC="${__GLIBC_CC} ${!VAR}" } |