[pushed] libgomp: fix typo in mold linker detection

Message ID 3faed5cc-1a76-9db1-dc0a-12e3e9a68348@suse.cz
State Committed
Headers
Series [pushed] libgomp: fix typo in mold linker detection |

Commit Message

Martin Liška June 28, 2022, 8:37 a.m. UTC
  Pushed as obvious to master and gcc-12 branch.

Thanks,
Martin

libgomp/ChangeLog:

	* acinclude.m4: Fix typo in mold linker detection.
	* Makefile.in: Regenerate.
	* configure: Regenerate.
---
 libgomp/Makefile.in  | 2 +-
 libgomp/acinclude.m4 | 2 +-
 libgomp/configure    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
  

Patch

diff --git a/libgomp/Makefile.in b/libgomp/Makefile.in
index 8f6255f2d70..8ffd45c9c41 100644
--- a/libgomp/Makefile.in
+++ b/libgomp/Makefile.in
@@ -16,7 +16,7 @@ 
 
 # Plugins for offload execution, Makefile.am fragment.
 #
-# Copyright (C) 2014-2021 Free Software Foundation, Inc.
+# Copyright (C) 2014-2022 Free Software Foundation, Inc.
 #
 # Contributed by Mentor Embedded.
 #
diff --git a/libgomp/acinclude.m4 b/libgomp/acinclude.m4
index b8154eba99c..12fbb20066c 100644
--- a/libgomp/acinclude.m4
+++ b/libgomp/acinclude.m4
@@ -154,7 +154,7 @@  AC_DEFUN([LIBGOMP_CHECK_LINKER_FEATURES], [
   if $LD --version 2>/dev/null | grep 'GNU gold'> /dev/null 2>&1; then
     libgomp_ld_is_gold=yes
   elif $LD --version 2>/dev/null | grep 'mold'> /dev/null 2>&1; then
-    libat_ld_is_mold=yes
+    libgomp_ld_is_mold=yes
   fi
   changequote(,)
   ldver=`$LD --version 2>/dev/null |
diff --git a/libgomp/configure b/libgomp/configure
index 89f14e441f2..b11170e6a7c 100755
--- a/libgomp/configure
+++ b/libgomp/configure
@@ -16027,7 +16027,7 @@  with_gnu_ld=$lt_cv_prog_gnu_ld
   if $LD --version 2>/dev/null | grep 'GNU gold'> /dev/null 2>&1; then
     libgomp_ld_is_gold=yes
   elif $LD --version 2>/dev/null | grep 'mold'> /dev/null 2>&1; then
-    libat_ld_is_mold=yes
+    libgomp_ld_is_mold=yes
   fi
 
   ldver=`$LD --version 2>/dev/null |