libtool.m4: Support for more flang compilers

This commit is contained in:
Alastair McKinstry 2019-02-19 11:28:49 +02:00 committed by Ileana Dumitrescu
parent 43c5983836
commit 506283c381
No known key found for this signature in database
GPG Key ID: 6570EA01146F7354

2
m4/libtool.m4 vendored
View File

@ -4782,7 +4782,7 @@ m4_if([$1], [CXX], [
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
;;
*flang* | ftn)
*flang* | ftn | f18* | f95*)
# Flang compiler.
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'