Original py-numpy

This commit is contained in:
2025-08-19 10:44:30 +02:00
parent bc51ad4da5
commit 7bc33a4aa5
11 changed files with 267 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- numpy/distutils/fcompiler/__init__.py.orig 2021-05-09 10:38:00 UTC
+++ numpy/distutils/fcompiler/__init__.py
@@ -171,7 +171,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