[gcc r13-1914] lto: replace $target with $host in configure.ac [PR106170]
Martin Liska
marxin@gcc.gnu.org
Mon Aug 1 08:33:25 GMT 2022
https://gcc.gnu.org/g:5d8637208d35f78b51f8cff38c984836ab2c860f
commit r13-1914-g5d8637208d35f78b51f8cff38c984836ab2c860f
Author: Martin Liska <mliska@suse.cz>
Date: Mon Aug 1 10:32:00 2022 +0200
lto: replace $target with $host in configure.ac [PR106170]
PR lto/106170
lto-plugin/ChangeLog:
* configure.ac: Replace $target with $host.
* configure: Regenerate.
Diff:
---
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
;;
More information about the Gcc-cvs
mailing list