Properly disable SSE2 on some arches

This commit is contained in:
Jan Grulich 2021-01-22 12:07:32 +01:00
parent ce6538d30a
commit ac2c26d4cf

View File

@ -3,7 +3,11 @@
%global multilib_archs x86_64 %{ix86} %{?mips} ppc64 ppc s390x s390 sparc64 sparcv9 %global multilib_archs x86_64 %{ix86} %{?mips} ppc64 ppc s390x s390 sparc64 sparcv9
%global multilib_basearchs x86_64 %{?mips64} ppc64 s390x sparc64 %global multilib_basearchs x86_64 %{?mips64} ppc64 s390x sparc64
%if 0%{?fedora} && 0%{?rhel} < 9 %ifarch s390x ppc64le aarch64 armv7hl
%global no_sse2 1
%endif
%if 0%{?rhel} && 0%{?rhel} < 9
%ifarch %{ix86} %ifarch %{ix86}
%global no_sse2 1 %global no_sse2 1
%endif %endif