summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2006-02-06 12:10:06 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2006-02-06 12:10:06 +0000
commit1e78e193ac00b639f8f12bb20eb254ebf1c032b8 (patch)
tree478da5255d9fa7953311f93bfae096c407a04f95
parent0e8e7f154a559e0152ccf955e7bcec58bc4b849a (diff)
downloadnumpy-1e78e193ac00b639f8f12bb20eb254ebf1c032b8.tar.gz
Changed -M to -J for gfortran.
-rw-r--r--numpy/distutils/command/build_src.py2
-rw-r--r--numpy/distutils/fcompiler/gnu.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/distutils/command/build_src.py b/numpy/distutils/command/build_src.py
index cc22115c7..ddd23beca 100644
--- a/numpy/distutils/command/build_src.py
+++ b/numpy/distutils/command/build_src.py
@@ -361,7 +361,7 @@ class build_src(build_ext.build_ext):
raise RuntimeError("%d errors in Pyrex compile" %
pyrex_result.num_errors)
else:
- log.info("Pyrex needed to compile %s but not available."\
+ log.warn("Pyrex needed to compile %s but not available."\
" Using old target %s"\
% (source, target_file))
new_sources.append(target_file)
diff --git a/numpy/distutils/fcompiler/gnu.py b/numpy/distutils/fcompiler/gnu.py
index b0189bef0..6f0c3de64 100644
--- a/numpy/distutils/fcompiler/gnu.py
+++ b/numpy/distutils/fcompiler/gnu.py
@@ -229,7 +229,7 @@ class Gnu95FCompiler(GnuFCompiler):
'ranlib' : ["ranlib"],
'linker_exe' : [fc_exe,"-Wall"]
}
- module_dir_switch = '-M'
+ module_dir_switch = '-J'
module_include_switch = '-I'
g2c = 'gfortran'