From 7376a192f14de94ee8b3e97c396709aaecbc5290 Mon Sep 17 00:00:00 2001 From: Michael Haubenwallner Date: Wed, 20 Jun 2018 18:28:52 +0200 Subject: [PATCH] toolchain.eclass: Cygwin provides posix threads 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 9a0080af57ee..241a3ea89f46 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -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 ) ;; -- 2.26.2