public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Haubenwallner <haubi@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: Michael Haubenwallner <haubi@gentoo.org>
Subject: [gentoo-dev] [PATCH 4/5] toolchain.eclass: Cygwin provides posix threads
Date: Fri, 22 Jun 2018 15:10:27 +0200	[thread overview]
Message-ID: <20180622131028.13132-5-haubi@gentoo.org> (raw)
In-Reply-To: <20180622131028.13132-1-haubi@gentoo.org>

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 4b94f78bfa9..aa62010be6e 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.16.1



  parent reply	other threads:[~2018-06-22 13:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-22 13:10 [gentoo-dev] [PATCH 0/5]-r1 toolchain.eclass: Prefix patches, Cygwin related Michael Haubenwallner
2018-06-22 13:10 ` [gentoo-dev] [PATCH 1/5] toolchain.eclass: EAPI 7 aware for D,ED,ROOT,EROOT Michael Haubenwallner
2018-06-22 13:10 ` [gentoo-dev] [PATCH 2/5] toolchain.eclass: ROOT->EROOT at looking for gcc specs file Michael Haubenwallner
2018-06-22 13:10 ` [gentoo-dev] [PATCH 3/5] toolchain.eclass: D->ED for where to start cleanups Michael Haubenwallner
2018-06-22 13:10 ` Michael Haubenwallner [this message]
2018-06-22 13:10 ` [gentoo-dev] [PATCH 5/5] toolchain.eclass: support gcc patches from cygwinports Michael Haubenwallner
2018-06-22 13:23   ` [gentoo-dev] " Michael Haubenwallner
2018-07-09 16:23 ` [gentoo-dev] Re: [PATCH 0/5]-r1 toolchain.eclass: Prefix patches, Cygwin related Michael Haubenwallner
  -- strict thread matches above, loose matches on Subject: below --
2018-06-20 17:49 [gentoo-dev] [PATCH 0/5] " Michael Haubenwallner
2018-06-20 17:49 ` [gentoo-dev] [PATCH 4/5] toolchain.eclass: Cygwin provides posix threads Michael Haubenwallner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180622131028.13132-5-haubi@gentoo.org \
    --to=haubi@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox