From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 358563858D32; Mon, 16 Jan 2023 10:29:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 358563858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673864951; bh=oXwDFecXRhKV8xs+SRJrQ9OE+W4jf8aU8EUHwUoO2WI=; h=From:To:Subject:Date:From; b=oJ8HgESan2pXZkfCf19hxQXrzjlqLFnDoAxUk8fFuF0iEUW7g18Bi+yt4NOcpwpWr 4EuQNcNcIJEhBV3/H8U13IYtWwLduJ8KGLLhtzKKPGoFoJsGgyAijHAHtWxZrNJpLa F8ENMKYdP0wFkEhG7n7cPCzP4Iz2w4IVoPRi3bXo= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-5189] libatomic: Use config/mingw/lock.c for --enable-threads=single X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: c841bde5ac2bd8915ecc974ff7623c8954fc1cf3 X-Git-Newrev: 8da14bd45e9759c55c0b4c744a966b78e16df49a Message-Id: <20230116102911.358563858D32@sourceware.org> Date: Mon, 16 Jan 2023 10:29:11 +0000 (GMT) List-Id: https://gcc.gnu.org/g:8da14bd45e9759c55c0b4c744a966b78e16df49a commit r13-5189-g8da14bd45e9759c55c0b4c744a966b78e16df49a Author: Jonathan Wakely 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)