From: Martin Liska Date: Mon, 1 Aug 2022 08:32:00 +0000 (+0200) Subject: lto: replace $target with $host in configure.ac [PR106170] X-Git-Tag: basepoints/gcc-14~5293 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d8637208d35f78b51f8cff38c984836ab2c860f;p=thirdparty%2Fgcc.git lto: replace $target with $host in configure.ac [PR106170] PR lto/106170 lto-plugin/ChangeLog: * configure.ac: Replace $target with $host. * configure: Regenerate. --- 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 ;;