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:
parent
a7845d91aa
commit
b17ab09eaf
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue