Gentoo Archives: gentoo-dev

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-dev@l.g.o
Cc: Michael Haubenwallner <haubi@g.o>
Subject: [gentoo-dev] [PATCH 4/5] toolchain.eclass: Cygwin provides posix threads
Date: Fri, 22 Jun 2018 13:12:34
Message-Id: 20180622131028.13132-5-haubi@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/5]-r1 toolchain.eclass: Prefix patches, Cygwin related by Michael Haubenwallner
1 Upstream Cygwin does build their gcc with posix threads for ages,
2 at least since gcc4-4.5.1-1.cygport (committed on Oct 3, 2010).
3 ---
4 eclass/toolchain.eclass | 2 +-
5 1 file changed, 1 insertion(+), 1 deletion(-)
6
7 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
8 index 4b94f78bfa9..aa62010be6e 100644
9 --- a/eclass/toolchain.eclass
10 +++ b/eclass/toolchain.eclass
11 @@ -1034,7 +1034,7 @@ toolchain_src_configure() {
12 confgcc+=( --enable-shared )
13 fi
14 case ${CHOST} in
15 - mingw*|*-mingw*|*-cygwin)
16 + mingw*|*-mingw*)
17 confgcc+=( --enable-threads=win32 ) ;;
18 *)
19 confgcc+=( --enable-threads=posix ) ;;
20 --
21 2.16.1