Fixes for ARM64 build

f38
Michael Cronenworth 2 years ago
parent 552cb045db
commit c8c81d2398

@ -98,8 +98,13 @@ Source900: https://github.com/wine-staging/wine-staging/archive/v%{version}.tar.
%endif
%if !%{?no64bit}
%if 0%{fedora} > 36
ExclusiveArch: %{ix86} x86_64 aarch64
%else
# Fedora 36 Clang doesn't build PE binaries on ARM at the moment
ExclusiveArch: %{ix86} x86_64
%endif
%else
ExclusiveArch: %{ix86}
%endif
@ -783,6 +788,9 @@ unset PKG_CONFIG_PATH
# setup for alternatives usage
%ifarch x86_64 aarch64
%ifarch aarch64
mv %{buildroot}%{_bindir}/wine %{buildroot}%{_bindir}/wine64
%endif
mv %{buildroot}%{_bindir}/wineserver %{buildroot}%{_bindir}/wineserver64
%endif
%ifarch %{ix86} %{arm}

Loading…
Cancel
Save