opnsense-ports/math/py-numpy/files/patch-numpy-distutils-fcompiler-__init__.py
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
548 B
Python

--- numpy/distutils/fcompiler/__init__.py.orig 2008-04-06 23:03:15.000000000 +0900
+++ numpy/distutils/fcompiler/__init__.py 2008-04-06 23:08:56.000000000 +0900
@@ -179,7 +179,7 @@
# gnu95 compiler type when there are F90 sources.
suggested_f90_compiler = None
- compile_switch = "-c"
+ compile_switch = "-c -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