summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2019-03-18 17:40:25 +0100
committerDidier Raboud <odyx@debian.org>2019-03-18 17:40:25 +0100
commit033f39b092ecf7882cdae9dce6bfe36f003cfa3f (patch)
tree29fdf1fda435bd4e56e2f0f9d5eb63b02eb9f362 /m4
parent0030fffefd69db302f302c3494a08f192609b2a2 (diff)
New upstream version 1.22.2
Diffstat (limited to 'm4')
-rw-r--r--m4/libtool.m49
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*)