public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jonathan Wakely <redi@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-5189] libatomic: Use config/mingw/lock.c for --enable-threads=single
Date: Mon, 16 Jan 2023 10:29:11 +0000 (GMT)	[thread overview]
Message-ID: <20230116102911.358563858D32@sourceware.org> (raw)

https://gcc.gnu.org/g:8da14bd45e9759c55c0b4c744a966b78e16df49a

commit r13-5189-g8da14bd45e9759c55c0b4c744a966b78e16df49a
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Jan 13 13:13:55 2023 +0000

    libatomic: Use config/mingw/lock.c for --enable-threads=single
    
    Without this change bootstrap fails for x86_64-w64-mingw32 with
    --disable-threads=single because there is no lock.c file chosen by
    libatomic's configure.
    
    libatomic/ChangeLog:
    
            * configure.tgt (config_path) [target_thread_file=single]:
            Use 'mingw' config.

Diff:
---
 libatomic/configure.tgt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libatomic/configure.tgt b/libatomic/configure.tgt
index 57f093603bb..641dc834abc 100644
--- a/libatomic/configure.tgt
+++ b/libatomic/configure.tgt
@@ -160,7 +160,7 @@ case "${target}" in
   *-*-mingw*)
 	# OS support for atomic primitives.
         case ${target_thread_file} in
-          win32 | mcf)
+          win32 | mcf | single)
             config_path="${config_path} mingw"
             ;;
           posix)

                 reply	other threads:[~2023-01-16 10:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20230116102911.358563858D32@sourceware.org \
    --to=redi@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).