branch: master
commit 2a25604bcf83392638de49911e411e0e5527c2ea
Author: Ileana Dumitrescu <ileanadumitresc...@gmail.com>
AuthorDate: Wed Jul 3 17:58:04 2024 +0300

    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 9e0264bb..e35deaa2 100644
--- a/NO-THANKS
+++ b/NO-THANKS
@@ -72,6 +72,7 @@ Alex                          lx...@orcon.net.nz
 Allan McRae                    al...@archlinux.org
 Andreas Schiffler              aschiff...@ferzkopp.net
 Andreas Stieger                andreas.stie...@gmx.de
+Anton Shterenlikht             shterenli...@par-tec.com
 Brent Leback                   brent.leb...@st.com
 Camilo La Rota                 camilo.lar...@ens-lyon.fr
 Carl D. Roth                   r...@cse.ucsc.edu
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index bd6c9947..29525980 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'

Reply via email to