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 | aa16d13e458ae7682a0c6ae8393e3fd135b78938 (patch) | |
tree | b8d595ebd4baf0da5ed43feb01c0b22b92c850a1 /eclass/toolchain.eclass | |
parent | tweak cygwin target (diff) | |
download | historical-aa16d13e458ae7682a0c6ae8393e3fd135b78938.tar.gz historical-aa16d13e458ae7682a0c6ae8393e3fd135b78938.tar.bz2 historical-aa16d13e458ae7682a0c6ae8393e3fd135b78938.zip |
add cygwin targets
Diffstat (limited to 'eclass/toolchain.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" |