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