summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-03-05 00:40:36 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-03-05 00:40:36 +0000
commit5d7a36a38fc3d91b9eb4f5bc8d271e5e4c7f2fbf (patch)
tree561dd05a542ce4f1f8d0851be6084a9969596c19 /sys-devel
parentMoved to app-admin/showconsole. (diff)
downloadgentoo-2-5d7a36a38fc3d91b9eb4f5bc8d271e5e4c7f2fbf.tar.gz
gentoo-2-5d7a36a38fc3d91b9eb4f5bc8d271e5e4c7f2fbf.tar.bz2
gentoo-2-5d7a36a38fc3d91b9eb4f5bc8d271e5e4c7f2fbf.zip
Stop CFLAGS_* from entering env file.
(Portage version: 2.0.51.18)
Diffstat (limited to 'sys-devel')
-rwxr-xr-xsys-devel/gcc-config/files/gcc-config-1.4.04
1 files changed, 2 insertions, 2 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 1f7b15c296d8..19cbf8a7a26b 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.4 2005/03/04 17:53:19 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.4.0,v 1.5 2005/03/05 00:40:36 eradicator Exp $
# Author: Martin Schlemmer <azarah@gentoo.org>
trap ":" INT QUIT TSTP
@@ -175,7 +175,7 @@ switch_profile() {
echo "CURRENT=${CC_COMP}" > "${CONFIG_FILE}"
else
# Pass all by default
- ${AWK} '!/^(STDCXX_INCDIR|LDPATH|CC|CXX|CTARGET|GCCBITS|GCC_SPECS|CFLAGS|FAKE_TARGETS)=/ {print $0}' \
+ ${AWK} '!/^(STDCXX_INCDIR|LDPATH|CC|CXX|CTARGET|GCCBITS|GCC_SPECS|CFLAGS_.*|FAKE_TARGETS)=/ {print $0}' \
"${GCC_ENV_D}/${CC_COMP}" > "${ENV_FILE}"
echo "LDPATH=\"${MY_LDPATH}\"" >> "${ENV_FILE}"
if [[ -n ${GCC_SPECS} ]] && [[ -e ${ROOT}/${GCC_SPECS} ]] ; then