branch: master
commit 2a25604bcf83392638de49911e411e0e5527c2ea
Author: Ileana Dumitrescu <[email protected]>
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 [email protected]
Allan McRae [email protected]
Andreas Schiffler [email protected]
Andreas Stieger [email protected]
+Anton Shterenlikht [email protected]
Brent Leback [email protected]
Camilo La Rota [email protected]
Carl D. Roth [email protected]
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'