From f6f0b198978d5d10ff112a069bc3ad6d1e8495e6 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 1 Aug 2024 12:44:43 +0000 Subject: automatic import of autoconf --- ...F77_LIBRARY_LDFLAGS-to-oneAPI-HPC-Toolkit.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 0001-Port-AC_F77_LIBRARY_LDFLAGS-to-oneAPI-HPC-Toolkit.patch (limited to '0001-Port-AC_F77_LIBRARY_LDFLAGS-to-oneAPI-HPC-Toolkit.patch') diff --git a/0001-Port-AC_F77_LIBRARY_LDFLAGS-to-oneAPI-HPC-Toolkit.patch b/0001-Port-AC_F77_LIBRARY_LDFLAGS-to-oneAPI-HPC-Toolkit.patch new file mode 100644 index 0000000..690d2b5 --- /dev/null +++ b/0001-Port-AC_F77_LIBRARY_LDFLAGS-to-oneAPI-HPC-Toolkit.patch @@ -0,0 +1,31 @@ +From ae26b9b44c183c41b84fc36ff70082713295d621 Mon Sep 17 00:00:00 2001 +From: Paul Eggert +Date: Wed, 22 Jul 2020 12:56:19 -0700 +Subject: [PATCH] Port AC_F77_LIBRARY_LDFLAGS to oneAPI HPC Toolkit +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Problem reported by Bill Dieter in: +https://lists.gnu.org/r/bug-autoconf/2020-07/msg00089.html +* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): +Defend against ‘clang -mllvm -loopopt=0’. +--- + lib/autoconf/fortran.m4 | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4 +index 0a0c4168..59a8859b 100644 +--- a/lib/autoconf/fortran.m4 ++++ b/lib/autoconf/fortran.m4 +@@ -698,6 +698,7 @@ while test $[@%:@] != 1; do + -zallextract*| -zdefaultextract) + ac_cv_[]_AC_LANG_ABBREV[]_libs="$ac_cv_[]_AC_LANG_ABBREV[]_libs $ac_arg" + ;; ++ -mllvm) ${2+shift};; # Defend against 'clang -mllvm -loopopt=0'. + # Ignore everything else. + esac + done +-- +2.45.0 + -- cgit v1.2.3