aboutsummaryrefslogtreecommitdiff
path: root/math/py-numpy/files/patch-numpy-distutils-fcompiler-__init__.py
blob: 4c52b846e1b4baade299fb6582489d8221b691a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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