From: Jonathan Wakely <jwakely@redhat.com>
To: gcc-patches@gcc.gnu.org
Cc: Jonathan Yong <10walls@gmail.com>
Subject: [PATCH] libatomic: Use config/mingw/lock.c for --enable-threads=single
Date: Sat, 14 Jan 2023 20:39:45 +0000 [thread overview]
Message-ID: <20230114203945.1282157-1-jwakely@redhat.com> (raw)
OK for trunk?
-- >8--
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.
---
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)
--
2.39.0
next reply other threads:[~2023-01-14 20:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-14 20:39 Jonathan Wakely [this message]
2023-01-15 14:24 ` Jonathan Yong
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=20230114203945.1282157-1-jwakely@redhat.com \
--to=jwakely@redhat.com \
--cc=10walls@gmail.com \
--cc=gcc-patches@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).