This is an automated email from the git hooks/post-receive script.
ildumi pushed a commit to branch development
in repository libtool.
The following commit(s) were added to refs/heads/development by this push:
new 5b4c2657 m4: Support additional flang-based compilers
5b4c2657 is described below
commit 5b4c265739f1b523f1c50cc54d12096271cc5de1
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'.
---
m4/libtool.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 5357a3d9..e9eef32f 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -4741,7 +4741,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'