summaryrefslogtreecommitdiff
path: root/scipy_distutils/gnufcompiler.py
diff options
context:
space:
mode:
authorjmiller <jmiller@localhost>2005-01-07 20:42:22 +0000
committerjmiller <jmiller@localhost>2005-01-07 20:42:22 +0000
commit54e300d091cdb40e194855b258d5721920df7191 (patch)
tree93d5cc927e681f9279c7068f03b6ca489013d2d7 /scipy_distutils/gnufcompiler.py
parent246665b81b2954a63c0400f870d85aeac111117e (diff)
downloadnumpy-54e300d091cdb40e194855b258d5721920df7191.tar.gz
Switch to -O2 for gcc <= 3.3.3 rather than gcc == 3.3.3.
Diffstat (limited to 'scipy_distutils/gnufcompiler.py')
-rw-r--r--scipy_distutils/gnufcompiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scipy_distutils/gnufcompiler.py b/scipy_distutils/gnufcompiler.py
index c18734ddd..f826bf9af 100644
--- a/scipy_distutils/gnufcompiler.py
+++ b/scipy_distutils/gnufcompiler.py
@@ -102,7 +102,7 @@ class GnuFCompiler(FCompiler):
return ['-g']
def get_flags_opt(self):
- if self.get_version()=='3.3.3':
+ if self.get_version()<='3.3.3':
# With this compiler version building Fortran BLAS/LAPACK
# with -O3 caused failures in lib.lapack heevr,syevr tests.
opt = ['-O2']