summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-02-22 02:09:24 +0000
committerMike Frysinger <vapier@gentoo.org>2007-02-22 02:09:24 +0000
commit7d19af41a1faa2265143520df733adc93cbd23fa (patch)
treea99b2aa0c22dac1b96cb1dbf354488708e847e3e /eclass/toolchain.eclass
parentTransition to Manifest2. (diff)
downloadgentoo-2-7d19af41a1faa2265143520df733adc93cbd23fa.tar.gz
gentoo-2-7d19af41a1faa2265143520df733adc93cbd23fa.tar.bz2
gentoo-2-7d19af41a1faa2265143520df733adc93cbd23fa.zip
update mingw test
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 2b7fb4bf0239..e0be467dfa7a 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.328 2007/02/18 02:12:03 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.329 2007/02/22 02:09:24 vapier Exp $
HOMEPAGE="http://gcc.gnu.org/"
LICENSE="GPL-2 LGPL-2.1"
@@ -1292,7 +1292,7 @@ gcc_do_configure() {
if [[ ${GCCMAJOR}.${GCCMINOR} > 4.1 ]] ; then
confgcc="${confgcc} --disable-bootstrap --disable-libgomp"
fi
- elif [[ ${CHOST} != mingw* ]] ; then
+ elif [[ ${CHOST} != mingw* ]] && [[ ${CHOST} != *-mingw* ]] ; then
confgcc="${confgcc} --enable-shared --enable-threads=posix"
if [[ ${GCCMAJOR}.${GCCMINOR} > 4.1 ]] ; then