summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-02-20 01:16:29 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-02-20 01:16:29 +0000
commitd8419359d4077dcaff89fdf0b4a91bed7cfa5a93 (patch)
treea3fc5836311608489cfb69ec7d3bdf062f7f70fd /sys-devel/gcc-config
parentold (diff)
downloadgentoo-2-d8419359d4077dcaff89fdf0b4a91bed7cfa5a93.tar.gz
gentoo-2-d8419359d4077dcaff89fdf0b4a91bed7cfa5a93.tar.bz2
gentoo-2-d8419359d4077dcaff89fdf0b4a91bed7cfa5a93.zip
Don't put CTARGET_ALIASES stuff in the env.
(Portage version: 2.0.51.16)
Diffstat (limited to 'sys-devel/gcc-config')
-rwxr-xr-xsys-devel/gcc-config/files/gcc-config-1.4.06
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-devel/gcc-config/files/gcc-config-1.4.0 b/sys-devel/gcc-config/files/gcc-config-1.4.0
index 68028c452583..06fdce677641 100755
--- a/sys-devel/gcc-config/files/gcc-config-1.4.0
+++ b/sys-devel/gcc-config/files/gcc-config-1.4.0
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.4.0,v 1.1 2005/02/19 10:04:01 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.4.0,v 1.2 2005/02/20 01:16:29 eradicator Exp $
# Author: Martin Schlemmer <azarah@gentoo.org>
trap ":" INT QUIT TSTP
@@ -160,7 +160,7 @@ switch_profile() {
echo "CURRENT=${CC_COMP}" > "${CONFIG_FILE}"
else
# Pass all by default
- ${AWK} '!/^(STDCXX_INCDIR|LDPATH|CC|CXX|CTARGET|GCCBITS|GCC_SPECS)=/ {print $0}' \
+ ${AWK} '!/^(STDCXX_INCDIR|LDPATH|CC|CXX|CTARGET|GCCBITS|GCC_SPECS|CFLAGS)=/ {print $0}' \
"${GCC_ENV_D}/${CC_COMP}" > "${ENV_FILE}"
echo "LDPATH=\"${MY_LDPATH}\"" >> "${ENV_FILE}"
if [[ -n ${GCC_SPECS} ]] && [[ -e ${ROOT}/${GCC_SPECS} ]] ; then
@@ -242,7 +242,7 @@ switch_profile() {
touch -r ${ref} ${ROOT}/usr/bin/${CTARGET}-${x}
local cctarget
- for cctarget in ${GCC_CTARGET_ALIASES}; do
+ for cctarget in ${CTARGET_ALIASES}; do
local var="CFLAGS_"${cctarget//-/_}
if [[ ! -f ${GCC_ENV_D}/config-${cctarget} ]]; then
sed -e "s:@@EXEC@@:${CTARGET}-${x}:g" \