openbsd-ports/math/py-numpy/patches/powerpc-patch-numpy_distutils_fcompiler_gnu_py
eric 74367adf2f - update to 1.6.0
- tweak distutils to fix py-scipy build noticed by landry@

ok djm@ (maintainer) rpointel@ landry@
2011-05-27 10:06:12 +00:00

14 lines
528 B
Plaintext

$OpenBSD: powerpc-patch-numpy_distutils_fcompiler_gnu_py,v 1.2 2011/05/27 10:06:12 eric Exp $
--- numpy/distutils/fcompiler/gnu.py.orig Thu May 5 22:41:53 2011
+++ numpy/distutils/fcompiler/gnu.py Wed May 18 12:22:16 2011
@@ -199,7 +199,8 @@ class GnuFCompiler(FCompiler):
opt = ['-O2']
else:
opt = ['-O3']
- opt.append('-funroll-loops')
+# Segmentation fault on powerpc when building py-scipy
+# opt.append('-funroll-loops')
return opt
def _c_arch_flags(self):