diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-05-30 15:47:47 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-05-30 15:47:47 +0000 |
commit | 1d55e8c3bd581abdca0933e24ecf05f4793b7811 (patch) | |
tree | beefd1e011a64103702033abdc5eedc3bdc164ac /eclass/toolchain.eclass | |
parent | Stable for HPPA (bug #417669). (diff) | |
download | historical-1d55e8c3bd581abdca0933e24ecf05f4793b7811.tar.gz historical-1d55e8c3bd581abdca0933e24ecf05f4793b7811.tar.bz2 historical-1d55e8c3bd581abdca0933e24ecf05f4793b7811.zip |
handle mingw64 targets in the libc cross-compiler logic #417793 by Matt Whitlock
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 8c60978c38dd..a152ecf813bc 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.539 2012/05/22 05:08:29 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.540 2012/05/30 15:47:47 vapier Exp $ # # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> @@ -1125,7 +1125,9 @@ gcc_do_configure() { *-gnu*) needed_libc=glibc;; *-klibc) needed_libc=klibc;; *-uclibc*) needed_libc=uclibc;; - *-cygwin) needed_libc=cygwin;; + *-cygwin) needed_libc=cygwin;; + x86_64-*-mingw*|\ + *-w64-mingw*) needed_libc=mingw64-runtime;; mingw*|*-mingw*) needed_libc=mingw-runtime;; avr) confgcc+=" --enable-shared --disable-threads";; esac |