diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-04-12 22:54:40 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-04-12 22:54:40 +0000 |
commit | 574190448695942923ae31477b7b4dd5eced00fb (patch) | |
tree | a7f25e81e05fa913290b6d2a4b4be381f9e68353 /eclass | |
parent | Version bump. (diff) | |
download | historical-574190448695942923ae31477b7b4dd5eced00fb.tar.gz historical-574190448695942923ae31477b7b4dd5eced00fb.tar.bz2 historical-574190448695942923ae31477b7b4dd5eced00fb.zip |
handle renamed fixed include dir #214151
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 6 |
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 |