toolchain.eclass: Cygwin provides posix threads
authorMichael Haubenwallner <haubi@gentoo.org>
Wed, 20 Jun 2018 16:28:52 +0000 (18:28 +0200)
committerMichael Haubenwallner <haubi@gentoo.org>
Mon, 9 Jul 2018 16:20:11 +0000 (18:20 +0200)
Upstream Cygwin does build their gcc with posix threads for ages,
at least since gcc4-4.5.1-1.cygport (committed on Oct 3, 2010).

eclass/toolchain.eclass

index 9a0080af57eec0c7a91468edfdf8a5ade5adf50a..241a3ea89f464d231da6ff881e66ae85d205a241 100644 (file)
@@ -1034,7 +1034,7 @@ toolchain_src_configure() {
                        confgcc+=( --enable-shared )
                fi
                case ${CHOST} in
-               mingw*|*-mingw*|*-cygwin)
+               mingw*|*-mingw*)
                        confgcc+=( --enable-threads=win32 ) ;;
                *)
                        confgcc+=( --enable-threads=posix ) ;;