diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-01-13 13:13:55 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-01-16 10:28:53 +0000 |
commit | 8da14bd45e9759c55c0b4c744a966b78e16df49a (patch) | |
tree | 91f8e19da1008f188f18f2785f8be8846aacc9c1 | |
parent | c841bde5ac2bd8915ecc974ff7623c8954fc1cf3 (diff) | |
download | gcc-8da14bd45e9759c55c0b4c744a966b78e16df49a.zip gcc-8da14bd45e9759c55c0b4c744a966b78e16df49a.tar.gz gcc-8da14bd45e9759c55c0b4c744a966b78e16df49a.tar.bz2 |
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.
-rw-r--r-- | libatomic/configure.tgt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libatomic/configure.tgt b/libatomic/configure.tgt index 57f0936..641dc83 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) |