libtool-patches
[Top][All Lists]
Advanced

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

[PATCH] Support for Flang and ARM HPC compiler


From: pawel . osmialowski
Subject: [PATCH] Support for Flang and ARM HPC compiler
Date: Wed, 30 Aug 2017 13:22:44 +0100

From: Paul Osmialowski <address@hidden>

Signed-off-by: Paul Osmialowski <address@hidden>
---
 m4/libtool.m4 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 597c6042..f2dd4ae0 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -4739,6 +4739,12 @@ m4_if([$1], [CXX], [
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
        ;;
+      armflang* | flang*)
+       # Flang and ARM HPC Compiler
+       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -DPIC'
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+       ;;
       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
         # Portland Group compilers (*not* the Pentium gcc compiler,
        # which looks to be a dead project)
-- 
2.11.0 (Apple Git-81)




reply via email to

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