From f16abb06f7425b6468b01324740a5dad8a97ec59 Mon Sep 17 00:00:00 2001 From: Juergen Reuter Date: Wed, 1 Feb 2012 01:31:11 +0100 Subject: [PATCH] Fixing -shared error message for nagfor compiler. * m4/libtool.m4: Fix -shared. --- m4/libtool.m4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 36398518c..97beb4801 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -4821,6 +4821,8 @@ _LT_EOF lf95*) # Lahey Fortran 8.1 _LT_TAGVAR(whole_archive_flag_spec, $1)= tmp_sharedflag='--shared' ;; + nagfor*) # NAGFOR 5.3 + tmp_sharedflag='-Wl,-shared' ;; xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; -- 2.47.2