libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Armflang patch


From: Anthony Scemama
Subject: Armflang patch
Date: Sun, 22 Oct 2023 12:11:16 +0200
User-agent: Evolution 3.36.5-0ubuntu1

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

[Prev in Thread] Current Thread [Next in Thread]