public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] lto: replace $target with $host in configure.ac [PR106170]
@ 2022-08-01  8:33 Martin Liška
  0 siblings, 0 replies; only message in thread
From: Martin Liška @ 2022-08-01  8:33 UTC (permalink / raw)
  To: gcc-patches

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


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

only message in thread, other threads:[~2022-08-01  8:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-01  8:33 [PATCH] lto: replace $target with $host in configure.ac [PR106170] Martin Liška

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