Change >= 9 to == 9 for now.

This commit is contained in:
Jakub Jelinek 2021-04-08 14:17:18 +02:00
parent c38b60d6f8
commit 8ad393378c

View File

@ -1009,7 +1009,7 @@ CONFIGURE_OPTS="\
%endif %endif
%endif %endif
%ifarch ppc64le %ifarch ppc64le
%if 0%{?rhel} >= 9 %if 0%{?rhel} == 9
--with-cpu-32=power9 --with-tune-32=power9 --with-cpu-64=power9 --with-tune-64=power9 \ --with-cpu-32=power9 --with-tune-32=power9 --with-cpu-64=power9 --with-tune-64=power9 \
%else %else
--with-cpu-32=power8 --with-tune-32=power8 --with-cpu-64=power8 --with-tune-64=power8 \ --with-cpu-32=power8 --with-tune-32=power8 --with-cpu-64=power8 --with-tune-64=power8 \
@ -1044,7 +1044,11 @@ CONFIGURE_OPTS="\
%if 0%{?rhel} >= 7 %if 0%{?rhel} >= 7
%if 0%{?rhel} > 7 %if 0%{?rhel} > 7
%if 0%{?rhel} > 8 %if 0%{?rhel} > 8
%if 0%{?rhel} == 9
--with-arch=z14 --with-tune=z15 \ --with-arch=z14 --with-tune=z15 \
%else
--with-arch=z13 --with-tune=arch13 \
%endif
%else %else
--with-arch=z13 --with-tune=z14 \ --with-arch=z13 --with-tune=z14 \
%endif %endif
@ -3128,7 +3132,7 @@ end
%endif %endif
%changelog %changelog
- for %%{rhel} >= 9, default to -march=z14 -mtune=z15 on s390x and - for %%{rhel} == 9, default to -march=z14 -mtune=z15 on s390x and
to -mcpu=power9 -mtune=power9 on ppc64le to -mcpu=power9 -mtune=power9 on ppc64le
* Mon Apr 5 2021 Jakub Jelinek <jakub@redhat.com> 11.0.1-0.4 * Mon Apr 5 2021 Jakub Jelinek <jakub@redhat.com> 11.0.1-0.4