Minor conditional tweak for ELN

Signed-off-by: Troy Dawson tdawson@redhat.com
This commit is contained in:
Troy Dawson 2020-06-24 21:25:50 +00:00
parent 3b286e1db7
commit 87b7e4491e

View File

@ -107,7 +107,7 @@ rm $(grep -rl '/\* Generated by Cython') PKG-INFO
for PY in %{python3_version}; do
# Adding -fallow-argument-mismatch workaround for https://github.com/scipy/scipy/issues/11611
env CFLAGS="$RPM_OPT_FLAGS -lm" \
%if 0%{?fedora} >= 32
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9
FFLAGS="$RPM_OPT_FLAGS -fPIC -fallow-argument-mismatch" \
%else
FFLAGS="$RPM_OPT_FLAGS -fPIC" \