summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/gcc-config/files/gcc-config-1.4.0')
-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" \