summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-10-27 05:06:41 +0000
committerMike Frysinger <vapier@gentoo.org>2008-10-27 05:06:41 +0000
commit05a51351d90b55d4b15722cd4357ecb29eda8ec4 (patch)
tree7f5ca81ad18f22f2342b03344cff8f40a13e0609 /eclass/toolchain.eclass
parentFix by Nathan Brink to pull in stdint.h for uint64_t types #237600. (diff)
downloadhistorical-05a51351d90b55d4b15722cd4357ecb29eda8ec4.tar.gz
historical-05a51351d90b55d4b15722cd4357ecb29eda8ec4.tar.bz2
historical-05a51351d90b55d4b15722cd4357ecb29eda8ec4.zip
set threading type to win32 for ming targets #242344 by cJ
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index ee819b950606..07f73b81b0bb 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.364 2008/10/24 07:30:35 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.365 2008/10/27 05:06:41 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1326,7 +1326,9 @@ gcc_do_configure() {
if [[ ${GCCMAJOR}.${GCCMINOR} > 4.1 ]] ; then
confgcc="${confgcc} --disable-bootstrap --disable-libgomp"
fi
- elif [[ ${CHOST} != mingw* ]] && [[ ${CHOST} != *-mingw* ]] ; then
+ elif [[ ${CHOST} == mingw* ]] || [[ ${CHOST} == *-mingw* ]] ; then
+ confgcc="${confgcc} --enable-shared --enable-threads=win32"
+ else
confgcc="${confgcc} --enable-shared --enable-threads=posix"
fi
[[ ${CTARGET} == *-elf ]] && confgcc="${confgcc} --with-newlib"