ports/math/py-numpy/files/patch-numpy-distutils-fcompiler-__init__.py
Sunpoet Po-Chuan Hsieh f9d7c5e40d Update to 1.16.1
- Move TEST_DEPENDS upward
- Simplify Makefile

Changes:	https://github.com/numpy/numpy/releases
PR:		235721
Exp-run by:	antoine
2019-02-21 16:11:06 +00:00

11 lines
525 B
Python

--- numpy/distutils/fcompiler/__init__.py.orig 2019-01-31 02:31:08 UTC
+++ numpy/distutils/fcompiler/__init__.py
@@ -177,7 +177,7 @@ class FCompiler(CCompiler):
# gnu95 compiler type when there are F90 sources.
suggested_f90_compiler = None
- compile_switch = "-c"
+ compile_switch = "-fPIC"
object_switch = "-o " # Ending space matters! It will be stripped
# but if it is missing then object_switch
# will be prefixed to object file name by