public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5189] libatomic: Use config/mingw/lock.c for --enable-threads=single
@ 2023-01-16 10:29 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2023-01-16 10:29 UTC (permalink / raw)
  To: gcc-cvs

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-16 10:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-16 10:29 [gcc r13-5189] libatomic: Use config/mingw/lock.c for --enable-threads=single Jonathan Wakely

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).