Commits

David Cournapeau committed 5a6fd86

Fix gfortran tool: fortran file suffixes for specific dialect could not be set.

Comments (0)

Files changed (1)

src/engine/SCons/Tool/gfortran.py

 
 import SCons.Util
 
-import fortran
+from FortranCommon import add_all_to_env
 
 def generate(env):
     """Add Builders and construction variables for gfortran to an
     Environment."""
-    fortran.generate(env)
+    add_all_to_env(env)
 
     for dialect in ['F77', 'F90', 'FORTRAN', 'F95']:
         env['%s' % dialect] = 'gfortran'