summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2004-04-22 16:33:29 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2004-04-22 16:33:29 +0000
commitfb491c20e095e5b43d2fe498309b22689ae1cced (patch)
tree169e6cb03df549459b65a601b28572127dffa91c
parent6cd1654b3b99bfb6f6450dbe43f52436508480dc (diff)
downloadnumpy-fb491c20e095e5b43d2fe498309b22689ae1cced.tar.gz
Fixed bug (len(conf.pop())==2 always).
-rw-r--r--scipy_distutils/fcompiler.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/scipy_distutils/fcompiler.py b/scipy_distutils/fcompiler.py
index a949608ee..38d3fb453 100644
--- a/scipy_distutils/fcompiler.py
+++ b/scipy_distutils/fcompiler.py
@@ -304,9 +304,12 @@ class FCompiler(CCompiler):
dist.parse_command_line()
conf = dist.get_option_dict('config_fc')
-
noopt = conf.get('noopt',[None,0])[1]
- noarch = conf.get('noarch',[None,1,noopt])[2]
+ if 0: # change to `if 1:` when making release.
+ # Don't use architecture dependent compiler flags:
+ noarch = 1
+ else:
+ noarch = conf.get('noarch',[None,noopt])[1]
debug = conf.get('debug',[None,0])[1]
f77 = self.__get_cmd('compiler_f77','F77',(conf,'f77exec'))