Could a gatekeeper please review the following one-line patch?

The problem is that the flag "-MMD" is being passed to Fortran
compilation.  Depending on the version of gfortran, this flag can
result in an error or a warning -- there is a different way to
generate preprocessor dependencies using gfortran, and even that is
broken in some recent versions (see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43954).  For openf90, -MMD
appears to be ignored so we won't be missing out on anything by
removing it.

-David Coakley / AMD Open Source Compiler Engineering

Index: osprey/linux/make/gcommondefs
===================================================================
--- osprey/linux/make/gcommondefs       (revision 3464)
+++ osprey/linux/make/gcommondefs       (working copy)
@@ -521,7 +521,7 @@
 F77DEFS        = $(VF77DEFS) $(LF77DEFS) $(GF77DEFS)
 F77INCS        = $(VF77INCS) $(LF77INCS) $(GF77INCS)

-GF77OPTS= $(CSTYLE) $(OPTIMIZER) $(ENDIAN) $(SIZEDEFS) $(MKDEPOPT)
+GF77OPTS= $(CSTYLE) $(OPTIMIZER) $(ENDIAN) $(SIZEDEFS)
 GF77DEFS= $(GCDEFS)
 GF77INCS= $(GCINCS)

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to