diff options
author | Didier Raboud <odyx@debian.org> | 2019-03-18 17:40:25 +0100 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2019-03-18 17:40:25 +0100 |
commit | 033f39b092ecf7882cdae9dce6bfe36f003cfa3f (patch) | |
tree | 29fdf1fda435bd4e56e2f0f9d5eb63b02eb9f362 /m4 | |
parent | 0030fffefd69db302f302c3494a08f192609b2a2 (diff) |
New upstream version 1.22.2
Diffstat (limited to 'm4')
-rw-r--r-- | m4/libtool.m4 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/m4/libtool.m4 b/m4/libtool.m4 index e67ed6997..9d6dd9fce 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -4063,7 +4063,8 @@ _LT_EOF if AC_TRY_EVAL(ac_compile); then # Now try to grab the symbols. nlist=conftest.nm - if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then + $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&AS_MESSAGE_LOG_FD + if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&AS_MESSAGE_LOG_FD && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" @@ -4703,6 +4704,12 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; + # flang / f18. f95 an alias for gfortran or flang on Debian + flang* | f18* | f95*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) |