From 2a25604bcf83392638de49911e411e0e5527c2ea Mon Sep 17 00:00:00 2001 From: Ileana Dumitrescu Date: Wed, 3 Jul 2024 17:58:04 +0300 Subject: [PATCH] m4: Support additional flang-based compilers * m4/libtool.m4: Alter regex to support 'flang-new' and 'ftn'. * NO-THANKS: Add thanks for Anton Shterenlikht. --- NO-THANKS | 1 + m4/libtool.m4 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NO-THANKS b/NO-THANKS index 9e0264bbd..e35deaa20 100644 --- a/NO-THANKS +++ b/NO-THANKS @@ -72,6 +72,7 @@ Alex lx_op@orcon.net.nz Allan McRae allan@archlinux.org Andreas Schiffler aschiffler@ferzkopp.net Andreas Stieger Andreas.Stieger@gmx.de +Anton Shterenlikht shterenlikht@par-tec.com Brent Leback brent.leback@st.com Camilo La Rota camilo.larota@ens-lyon.fr Carl D. Roth roth@cse.ucsc.edu diff --git a/m4/libtool.m4 b/m4/libtool.m4 index bd6c99476..29525980e 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -4740,7 +4740,7 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; - *flang) + *flang* | ftn) # Flang compiler. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' -- 2.47.2