From: "Martin Liška" <mliska@suse.cz>
To: gcc-patches@gcc.gnu.org
Subject: [PATCH] lto: replace $target with $host in configure.ac [PR106170]
Date: Mon, 1 Aug 2022 10:33:09 +0200 [thread overview]
Message-ID: <ea0466ee-ad26-44b8-a619-bb07217387c6@suse.cz> (raw)
Pushed as obvious.
Martin
PR lto/106170
lto-plugin/ChangeLog:
* configure.ac: Replace $target with $host.
* configure: Regenerate.
---
lto-plugin/configure | 2 +-
lto-plugin/configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lto-plugin/configure b/lto-plugin/configure
index fdb8a5964b4..f165eaeb194 100755
--- a/lto-plugin/configure
+++ b/lto-plugin/configure
@@ -6015,7 +6015,7 @@ fi
use_locking=no
ac_lto_plugin_extra_ldflags=
-case $target in
+case $host in
riscv*)
# do not use locking as pthread depends on libatomic
;;
diff --git a/lto-plugin/configure.ac b/lto-plugin/configure.ac
index e69a7bd9ec0..0a7202782ae 100644
--- a/lto-plugin/configure.ac
+++ b/lto-plugin/configure.ac
@@ -91,7 +91,7 @@ AM_CONDITIONAL(LTO_PLUGIN_USE_SYMVER_SUN, [test "x$lto_plugin_use_symver" = xsun
use_locking=no
ac_lto_plugin_extra_ldflags=
-case $target in
+case $host in
riscv*)
# do not use locking as pthread depends on libatomic
;;
--
2.37.1
reply other threads:[~2022-08-01 8:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=ea0466ee-ad26-44b8-a619-bb07217387c6@suse.cz \
--to=mliska@suse.cz \
--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).