From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id C58C93857B88; Mon, 1 Aug 2022 08:33:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C58C93857B88 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-1914] lto: replace $target with $host in configure.ac [PR106170] X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/heads/master X-Git-Oldrev: 82ac4cd213867be939aedee15347e8fd3f200b6a X-Git-Newrev: 5d8637208d35f78b51f8cff38c984836ab2c860f Message-Id: <20220801083325.C58C93857B88@sourceware.org> Date: Mon, 1 Aug 2022 08:33:25 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2022 08:33:25 -0000 https://gcc.gnu.org/g:5d8637208d35f78b51f8cff38c984836ab2c860f commit r13-1914-g5d8637208d35f78b51f8cff38c984836ab2c860f Author: Martin Liska 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 ;;