* [PATCH] libatomic: Use config/mingw/lock.c for --enable-threads=single
@ 2023-01-14 20:39 Jonathan Wakely
2023-01-15 14:24 ` Jonathan Yong
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Wakely @ 2023-01-14 20:39 UTC (permalink / raw)
To: gcc-patches; +Cc: Jonathan Yong
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] libatomic: Use config/mingw/lock.c for --enable-threads=single
2023-01-14 20:39 [PATCH] libatomic: Use config/mingw/lock.c for --enable-threads=single Jonathan Wakely
@ 2023-01-15 14:24 ` Jonathan Yong
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Yong @ 2023-01-15 14:24 UTC (permalink / raw)
To: Jonathan Wakely, gcc-patches
On 1/14/23 20:39, Jonathan Wakely wrote:
> OK for trunk?
>
Looks OK to me, thanks for the patch.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-15 14:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-14 20:39 [PATCH] libatomic: Use config/mingw/lock.c for --enable-threads=single Jonathan Wakely
2023-01-15 14:24 ` Jonathan Yong
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).