Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: toolchain.eclass
Date: Fri, 28 Nov 2008 09:20:36
Message-Id: E1L5zWd-0005Dk-2s@stork.gentoo.org
1 vapier 08/11/28 09:20:35
2
3 Modified: toolchain.eclass
4 Log:
5 add cygwin targets
6
7 Revision Changes Path
8 1.367 eclass/toolchain.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain.eclass?rev=1.367&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain.eclass?rev=1.367&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain.eclass?r1=1.366&r2=1.367
13
14 Index: toolchain.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v
17 retrieving revision 1.366
18 retrieving revision 1.367
19 diff -u -r1.366 -r1.367
20 --- toolchain.eclass 9 Nov 2008 20:27:43 -0000 1.366
21 +++ toolchain.eclass 28 Nov 2008 09:20:34 -0000 1.367
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2008 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.366 2008/11/09 20:27:43 solar Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.367 2008/11/28 09:20:34 vapier Exp $
27 #
28 # Maintainer: Toolchain Ninjas <toolchain@g.o>
29
30 @@ -1321,6 +1321,7 @@
31 *-gnu*) needed_libc=glibc;;
32 *-klibc) needed_libc=klibc;;
33 *-uclibc*) needed_libc=uclibc;;
34 + *-cygwin) needed_libc=cygwin;;
35 mingw*|*-mingw*) needed_libc=mingw-runtime;;
36 avr) confgcc="${confgcc} --enable-shared --disable-threads";;
37 esac
38 @@ -1337,7 +1338,7 @@
39 if [[ ${GCCMAJOR}.${GCCMINOR} > 4.1 ]] ; then
40 confgcc="${confgcc} --disable-bootstrap --disable-libgomp"
41 fi
42 - elif [[ ${CHOST} == mingw* ]] || [[ ${CHOST} == *-mingw* ]] ; then
43 + elif [[ ${CHOST} == mingw* ]] || [[ ${CHOST} == *-mingw* ]] || [[ ${CHOST} == *-cygwin ]] ; then
44 confgcc="${confgcc} --enable-shared --enable-threads=win32"
45 else
46 confgcc="${confgcc} --enable-shared --enable-threads=posix"