Re: Armflang patch

2024-01-15 Thread Anthony Scemama
Hi,
yes, it is more complete.
Thanks,
Anthony

On Sun, 2024-01-14 at 02:03 -0500, Mike Frysinger wrote:
> i think this earlier patch is more complete:
> https://savannah.gnu.org/patch/?9442
> -mike




Re: Armflang patch

2024-01-13 Thread Mike Frysinger
i think this earlier patch is more complete:
https://savannah.gnu.org/patch/?9442
-mike


signature.asc
Description: PGP signature


Armflang patch

2023-10-22 Thread Anthony Scemama
Dear libtool developers, 
here is a patch to make armflang work with libtool:

$ git diff origin/master
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 79a2451e..df1a7860 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -4719,6 +4719,12 @@ m4_if([$1], [CXX], [
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 ;;
+  # ARM flang
+  armflang*)
+_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+;;
   # Lahey Fortran 8.1.
   lf95*)
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'


best,
Anthony


-- 
Anthony Scemama
Fermi / Laboratoire de Chimie et Physique Quantiques
UMR5626 CNRS/UPS
Toulouse