Minor conditional tweak for ELN
Signed-off-by: Troy Dawson tdawson@redhat.com
This commit is contained in:
parent
3b286e1db7
commit
87b7e4491e
@ -107,7 +107,7 @@ rm $(grep -rl '/\* Generated by Cython') PKG-INFO
|
|||||||
for PY in %{python3_version}; do
|
for PY in %{python3_version}; do
|
||||||
# Adding -fallow-argument-mismatch workaround for https://github.com/scipy/scipy/issues/11611
|
# Adding -fallow-argument-mismatch workaround for https://github.com/scipy/scipy/issues/11611
|
||||||
env CFLAGS="$RPM_OPT_FLAGS -lm" \
|
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" \
|
FFLAGS="$RPM_OPT_FLAGS -fPIC -fallow-argument-mismatch" \
|
||||||
%else
|
%else
|
||||||
FFLAGS="$RPM_OPT_FLAGS -fPIC" \
|
FFLAGS="$RPM_OPT_FLAGS -fPIC" \
|
||||||
|
Loading…
Reference in New Issue
Block a user