summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-04-12 22:54:40 +0000
committerMike Frysinger <vapier@gentoo.org>2008-04-12 22:54:40 +0000
commit255952747ee5dfc3d79657a1808ba44080d00b54 (patch)
tree050b014addced07a0e13f3b7eb58cc2aa37a3361 /eclass
parentVersion bump. (diff)
downloadgentoo-2-255952747ee5dfc3d79657a1808ba44080d00b54.tar.gz
gentoo-2-255952747ee5dfc3d79657a1808ba44080d00b54.tar.bz2
gentoo-2-255952747ee5dfc3d79657a1808ba44080d00b54.zip
handle renamed fixed include dir #214151
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index ff4dfafffa99..d0c5a437a35e 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.351 2008/04/08 03:07:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.352 2008/04/12 22:54:40 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1607,12 +1607,12 @@ gcc-compiler_src_install() {
# Do allow symlinks in ${PREFIX}/lib/gcc-lib/${CHOST}/${GCC_CONFIG_VER}/include as
# this can break the build.
- for x in "${WORKDIR}"/build/gcc/include/* ; do
+ for x in "${WORKDIR}"/build/gcc/include*/* ; do
[[ -L ${x} ]] && rm -f "${x}"
done
# Remove generated headers, as they can cause things to break
# (ncurses, openssl, etc).
- for x in $(find "${WORKDIR}"/build/gcc/include/ -name '*.h') ; do
+ for x in $(find "${WORKDIR}"/build/gcc/include*/ -name '*.h') ; do
grep -q 'It has been auto-edited by fixincludes from' "${x}" \
&& rm -f "${x}"
done