[packages/python-scipy] add -fPIC to FFLAGS
atler
atler at pld-linux.org
Sat Mar 6 14:44:53 CET 2021
commit 0d66db679632ac8814b43ffb2f5e4d3419a20809
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Mar 6 14:44:34 2021 +0100
add -fPIC to FFLAGS
python-scipy.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/python-scipy.spec b/python-scipy.spec
index 34bac4b..f560984 100644
--- a/python-scipy.spec
+++ b/python-scipy.spec
@@ -100,8 +100,9 @@ Dokumentacja API modułu SciPy.
# instead of appending proper options (like -shared)
CFLAGS="%{rpmcflags}"
LDFLAGS="%{rpmldflags} -shared"
+FFLAGS="-fPIC"
%if %{_ver_ge %(rpm -q --qf='%%{VERSION}' gcc-fortran) 10}
-FFLAGS="-fallow-argument-mismatch"
+FFLAGS="$FFLAGS -fallow-argument-mismatch"
%endif
export CFLAGS LDFLAGS FFLAGS
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-scipy.git/commitdiff/0d66db679632ac8814b43ffb2f5e4d3419a20809
More information about the pld-cvs-commit
mailing list