From: Juergen Reuter Date: Wed, 1 Feb 2012 00:31:11 +0000 (+0100) Subject: Fixing -shared error message for nagfor compiler. X-Git-Tag: v2.4.2.418~168^2~44 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=b25625e6b25427dba80051b2924060b1e84ea73e;p=thirdparty%2Flibtool.git Fixing -shared error message for nagfor compiler. * m4/libtool.m4: Fix -shared. --- diff --git a/m4/libtool.m4 b/m4/libtool.m4 index f870a163b..4dd84dc91 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= ;;