summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler/gnu.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/distutils/fcompiler/gnu.py')
-rw-r--r--numpy/distutils/fcompiler/gnu.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/numpy/distutils/fcompiler/gnu.py b/numpy/distutils/fcompiler/gnu.py
index cd272b885..6e0f1895d 100644
--- a/numpy/distutils/fcompiler/gnu.py
+++ b/numpy/distutils/fcompiler/gnu.py
@@ -28,7 +28,7 @@ class GnuFCompiler(FCompiler):
executables = {
'version_cmd' : [fc_exe,"--version"],
'compiler_f77' : [fc_exe, "-g", "-Wall","-fno-second-underscore"],
- 'compiler_f90' : None,
+ 'compiler_f90' : None, # Use --fcompiler=gnu95 for f90 codes
'compiler_fix' : None,
'linker_so' : [fc_exe, "-g", "-Wall"],
'archiver' : ["ar", "-cr"],
@@ -50,6 +50,8 @@ class GnuFCompiler(FCompiler):
g2c = 'g2c'
+ suggested_f90_compiler = 'gnu95'
+
#def get_linker_so(self):
# # win32 linking should be handled by standard linker
# # Darwin g77 cannot be used as a linker.