]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Fixing -shared error message for nagfor compiler.
authorJuergen Reuter <reuter@theoc01.desy.de>
Wed, 1 Feb 2012 00:31:11 +0000 (01:31 +0100)
committerGary V. Vaughan <gary@gnu.org>
Tue, 2 Oct 2012 14:03:39 +0000 (21:03 +0700)
* m4/libtool.m4: Fix -shared.

m4/libtool.m4

index f870a163be36595bd8f02f01121789a703b2b79e..4dd84dc9199c937cf651882a8ab8bbc3d6742b37 100644 (file)
@@ -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= ;;