From 16eb2223198a3d6d38718039031baff26ee26101 Mon Sep 17 00:00:00 2001
From: Bill Wendling <wendling@ncsa.uiuc.edu>
Date: Mon, 4 Dec 2000 11:47:11 -0500
Subject: [svn-r3071] Purpose: 	Bug Fix Description: 	The fix we put in to
 ignore warning 405 was incorrect. The quotes 	were confusing to configure.
 Solution: 	Turns out that there doesn't need to be a space between the -M
 	flag and the warning number. Platforms tested: 	T3E

---
 fortran/config/unicosmk2.0.X | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/fortran/config/unicosmk2.0.X b/fortran/config/unicosmk2.0.X
index b52bca3..36dab49 100644
--- a/fortran/config/unicosmk2.0.X
+++ b/fortran/config/unicosmk2.0.X
@@ -160,9 +160,11 @@ if test "X-" = "X-$F9X"; then
 fi
 
 if test "X-" = "X-$f9x_flags_set"; then
-    FFLAGS="-dp -Wl\"-M 405\""
-    DEBUG_FFLAGS="-dp"
-    PROD_FFLAGS="-dp"
-    PROFILE_FFLAGS="-dp"
+    # -Wl passes flags to the linker and -M# will ignore warnings with
+    # number #. Warning 405 was stopping the executable from being built.
+    FFLAGS="-dp -Wl-M405"
+    DEBUG_FFLAGS=""
+    PROD_FFLAGS=""
+    PROFILE_FFLAGS=""
     f9x_flags_set=yes
 fi
-- 
cgit v0.12