Commits

Satish Balay committed f6dca83

configure: add FC_DEFINE_FLAG to petscvariables

  • Participants
  • Parent commits a7bbbda

Comments (0)

Files changed (1)

File config/BuildSystem/config/compilers.py

     for flag in ['-D', '-WF,-D']:
       if self.setCompilers.checkCompilerFlag(flag+'Testing', body = '#define dummy \n           dummy\n#ifndef Testing\n       fooey\n#endif'):
         self.FortranDefineCompilerOption = flag
+        self.framework.addMakeMacro('FC_DEFINE_FLAG',self.FortranDefineCompilerOption)
         self.setCompilers.popLanguage()
         self.logPrint('Fortran uses '+flag+' for defining macro', 3, 'compilers')
         return