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


Reply via email to