@ -10,11 +10,9 @@ License: ASL 2.0
@@ -10,11 +10,9 @@ License: ASL 2.0
URL: https://github.com/qemu/sgabios
Source0: sgabios-%{date}-git%{hash}.tar.xz
%if ppc64 ppc64le aarch64
%ifarch ppc64 ppc64le aarch64
BuildRequires: binutils-x86_64-linux-gnu gcc-x86_64-linux-gnu
Buildarch: noarch
%else
ExclusiveArch: %{ix86} x86_64
%endif
BuildRequires: make
BuildRequires: gcc
@ -52,7 +50,7 @@ characters for later collection after an operating system boots.
@@ -52,7 +50,7 @@ characters for later collection after an operating system boots.
unset MAKEFLAGS
make \
HOSTCC=gcc \
%if ppc64 ppc64le aarch64
%ifarch ppc64 ppc64le aarch64
CC=x86_64-linux-gnu-gcc \
AS=x86_64-linux-gnu-as \
LD=x86_64-linux-gnu-ld \