diff --git a/m4/libtool.m4 b/m4/libtool.m4 index c75ad3c5..0a9c9afa 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -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'