From fb491c20e095e5b43d2fe498309b22689ae1cced Mon Sep 17 00:00:00 2001 From: Pearu Peterson Date: Thu, 22 Apr 2004 16:33:29 +0000 Subject: Fixed bug (len(conf.pop())==2 always). --- scipy_distutils/fcompiler.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'scipy_distutils/fcompiler.py') 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')) -- cgit v1.2.1