compilers/fortran: pass -module ${path} instead of -module${path}

ifort doesn't like the latter, and gfortran seems happy with the former.
I don't have any of the other supported fortran compilers to test with.
This commit is contained in:
Dylan Baker 2018-10-18 14:23:52 -07:00
parent a7845d91aa
commit b17ab09eaf
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ end program prog
return ('-I', )
def get_module_outdir_args(self, path):
return ['-module' + path]
return ['-module', path]
def module_name_to_filename(self, module_name):
return module_name.lower() + '.mod'