This is an automated email from the git hooks/post-receive script.
ildumi pushed a commit to branch master
in repository libtool.
The following commit(s) were added to refs/heads/master by this push:
new 7d843c7c Support AOCC Fortran compiler 'aof'
7d843c7c is described below
commit 7d843c7cb86f962ae30fad43119c0a61f7f7cd55
Author: ejose <[email protected]>
AuthorDate: Wed Aug 12 04:14:35 2026 +0000
Support AOCC Fortran compiler 'aof'
Add aof* to the Flang Fortran compiler recognition in libtool.m4 so AOCC's
Fortran driver is handled like upstream flang.
---
NEWS | 4 ++++
m4/libtool.m4 | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/NEWS b/NEWS
index 9d0eda9c..827c97aa 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ NEWS - list of user-visible changes between releases of GNU
Libtool
* Noteworthy changes in release ?.? (????-??-??) [?]
+** Changes in supported systems or compilers:
+
+ - Support AOCC Fortran compiler 'aof'.
+
* Noteworthy changes in release 2.6.2 (2026-07-16) [stable]
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 96e6c7d0..22d0635b 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -4969,7 +4969,7 @@ m4_if([$1], [CXX], [
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
;;
- *flang* | ftn | f18* | f95*)
+ *flang* | aof* | ftn | f18* | f95*)
# Flang compiler.
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'