From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: toolchain.eclass |
Date: | Wed, 30 May 2012 15:48:02 |
Message-Id: | 20120530154748.149B72004B@flycatcher.gentoo.org |
1 | vapier 12/05/30 15:47:48 |
2 | |
3 | Modified: toolchain.eclass |
4 | Log: |
5 | handle mingw64 targets in the libc cross-compiler logic #417793 by Matt Whitlock |
6 | |
7 | Revision Changes Path |
8 | 1.540 eclass/toolchain.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.540&view=markup |
11 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.540&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?r1=1.539&r2=1.540 |
13 | |
14 | Index: toolchain.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v |
17 | retrieving revision 1.539 |
18 | retrieving revision 1.540 |
19 | diff -u -r1.539 -r1.540 |
20 | --- toolchain.eclass 22 May 2012 05:08:29 -0000 1.539 |
21 | +++ toolchain.eclass 30 May 2012 15:47:47 -0000 1.540 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2012 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.539 2012/05/22 05:08:29 vapier Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.540 2012/05/30 15:47:47 vapier Exp $ |
27 | # |
28 | # Maintainer: Toolchain Ninjas <toolchain@g.o> |
29 | |
30 | @@ -1125,7 +1125,9 @@ |
31 | *-gnu*) needed_libc=glibc;; |
32 | *-klibc) needed_libc=klibc;; |
33 | *-uclibc*) needed_libc=uclibc;; |
34 | - *-cygwin) needed_libc=cygwin;; |
35 | + *-cygwin) needed_libc=cygwin;; |
36 | + x86_64-*-mingw*|\ |
37 | + *-w64-mingw*) needed_libc=mingw64-runtime;; |
38 | mingw*|*-mingw*) needed_libc=mingw-runtime;; |
39 | avr) confgcc+=" --enable-shared --disable-threads";; |
40 | esac |