diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-11 02:30:51 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-11 02:30:51 +0000 |
commit | 3477e6df15b7b14d21c1748de2611c5d338653b9 (patch) | |
tree | 81035075a44ab303d725b0fc3421694d5a4fb58c /eclass | |
parent | add patch for cross-compiling (diff) | |
download | historical-3477e6df15b7b14d21c1748de2611c5d338653b9.tar.gz historical-3477e6df15b7b14d21c1748de2611c5d338653b9.tar.bz2 historical-3477e6df15b7b14d21c1748de2611c5d338653b9.zip |
disable mudflap for bootstrap cross-compilers
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 2eca6581c7fb..d3ef39195678 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.215 2005/11/05 23:14:17 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.216 2005/11/11 02:30:51 vapier Exp $ HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html" LICENSE="GPL-2 LGPL-2.1" @@ -1173,8 +1173,9 @@ gcc_do_configure() { avr) confgcc="${confgcc} --enable-shared --disable-threads";; esac if [[ -n ${needed_libc} ]] ; then - if ! has_version ${CATEGORY}/${needed_libc} ; then - confgcc="${confgcc} --disable-shared --disable-threads --without-headers" + if ! has_version ${CATEGORY}/${needed_libc} && \ + ! has_version ${CATEGORY}/${needed_libc}-headers ; then + confgcc="${confgcc} --disable-shared --disable-threads --without-headers --disable-libmudflap" else confgcc="${confgcc} --with-sysroot=${PREFIX}/${CTARGET}" fi |