diff options
author | Martin Liska <mliska@suse.cz> | 2022-08-01 10:32:00 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2022-08-01 10:32:00 +0200 |
commit | 5d8637208d35f78b51f8cff38c984836ab2c860f (patch) | |
tree | d24dad49355f9f9eae5259bbb3cd1a66cc6c1c0f /lto-plugin | |
parent | 82ac4cd213867be939aedee15347e8fd3f200b6a (diff) |
lto: replace $target with $host in configure.ac [PR106170]
PR lto/106170
lto-plugin/ChangeLog:
* configure.ac: Replace $target with $host.
* configure: Regenerate.
Diffstat (limited to 'lto-plugin')
-rwxr-xr-x | lto-plugin/configure | 2 | ||||
-rw-r--r-- | 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 ;; |