diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-11-28 09:20:34 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-11-28 09:20:34 +0000 |
commit | faf8ad06ec3c48fe689dc76f645cfc488d50da99 (patch) | |
tree | 7b452ec0602479947b6339620db6ff134ac636b9 /eclass | |
parent | tweak cygwin target (diff) | |
download | gentoo-2-faf8ad06ec3c48fe689dc76f645cfc488d50da99.tar.gz gentoo-2-faf8ad06ec3c48fe689dc76f645cfc488d50da99.tar.bz2 gentoo-2-faf8ad06ec3c48fe689dc76f645cfc488d50da99.zip |
add cygwin targets
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index d72ce3607830..950a7cf8fa4a 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.366 2008/11/09 20:27:43 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.367 2008/11/28 09:20:34 vapier Exp $ # # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> @@ -1321,6 +1321,7 @@ gcc_do_configure() { *-gnu*) needed_libc=glibc;; *-klibc) needed_libc=klibc;; *-uclibc*) needed_libc=uclibc;; + *-cygwin) needed_libc=cygwin;; mingw*|*-mingw*) needed_libc=mingw-runtime;; avr) confgcc="${confgcc} --enable-shared --disable-threads";; esac @@ -1337,7 +1338,7 @@ 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* ]] || [[ ${CHOST} == *-cygwin ]] ; then confgcc="${confgcc} --enable-shared --enable-threads=win32" else confgcc="${confgcc} --enable-shared --enable-threads=posix" |