summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler/absoft.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/distutils/fcompiler/absoft.py')
-rw-r--r--numpy/distutils/fcompiler/absoft.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/distutils/fcompiler/absoft.py b/numpy/distutils/fcompiler/absoft.py
index 32a58fd31..b14a59b26 100644
--- a/numpy/distutils/fcompiler/absoft.py
+++ b/numpy/distutils/fcompiler/absoft.py
@@ -30,7 +30,7 @@ class AbsoftFCompiler(FCompiler):
# Note that fink installs g77 as f77, so need to use f90 for detection.
executables = {
- 'version_cmd' : None,
+ 'version_cmd' : ['<F90>', None],
'compiler_f77' : ["f77"],
'compiler_fix' : ["f90"],
'compiler_f90' : ["f90"],
@@ -45,9 +45,9 @@ class AbsoftFCompiler(FCompiler):
module_dir_switch = None
module_include_switch = '-p'
- def get_version_cmd(self):
+ def get_flags_version(self):
f = cyg2win32(dummy_fortran_file())
- return ['<F90>', '-V', '-c', f+'.f', '-o', f+'.o']
+ return ['-V', '-c', f+'.f', '-o', f+'.o']
def get_flags_linker_so(self):
if os.name=='nt':