Gentoo Archives: gentoo-commits

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Mon, 09 Jul 2018 16:20:37
Message-Id: 1531153211.7376a192f14de94ee8b3e97c396709aaecbc5290.haubi@gentoo
1 commit: 7376a192f14de94ee8b3e97c396709aaecbc5290
2 Author: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 20 16:28:52 2018 +0000
4 Commit: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 9 16:20:11 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7376a192
7
8 toolchain.eclass: Cygwin provides posix threads
9
10 Upstream Cygwin does build their gcc with posix threads for ages,
11 at least since gcc4-4.5.1-1.cygport (committed on Oct 3, 2010).
12
13 eclass/toolchain.eclass | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
17 index 9a0080af57e..241a3ea89f4 100644
18 --- a/eclass/toolchain.eclass
19 +++ b/eclass/toolchain.eclass
20 @@ -1034,7 +1034,7 @@ toolchain_src_configure() {
21 confgcc+=( --enable-shared )
22 fi
23 case ${CHOST} in
24 - mingw*|*-mingw*|*-cygwin)
25 + mingw*|*-mingw*)
26 confgcc+=( --enable-threads=win32 ) ;;
27 *)
28 confgcc+=( --enable-threads=posix ) ;;