Workaound fatal GCC 9 compilation/link errors
Fix conditionals for perl BuildRequires Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
This commit is contained in:
parent
f0fdc922ca
commit
3a40d2d6db
10
ipxe.spec
10
ipxe.spec
@ -47,7 +47,7 @@
|
|||||||
|
|
||||||
Name: ipxe
|
Name: ipxe
|
||||||
Version: %{date}
|
Version: %{date}
|
||||||
Release: 8.git%{hash}%{?dist}
|
Release: 9.git%{hash}%{?dist}
|
||||||
Summary: A network boot loader
|
Summary: A network boot loader
|
||||||
|
|
||||||
License: GPLv2 with additional permissions and BSD
|
License: GPLv2 with additional permissions and BSD
|
||||||
@ -63,7 +63,7 @@ Patch0002: 0002-Use-spec-compliant-timeouts.patch
|
|||||||
%ifarch %{buildarches}
|
%ifarch %{buildarches}
|
||||||
BuildRequires: perl-interpreter
|
BuildRequires: perl-interpreter
|
||||||
BuildRequires: perl-Getopt-Long
|
BuildRequires: perl-Getopt-Long
|
||||||
%if 0%{?fedora} >= 33
|
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
|
||||||
BuildRequires: perl-FindBin
|
BuildRequires: perl-FindBin
|
||||||
BuildRequires: perl-lib
|
BuildRequires: perl-lib
|
||||||
%endif
|
%endif
|
||||||
@ -144,6 +144,8 @@ rm -rf drivers/net/ath/ath9k
|
|||||||
make_ipxe() {
|
make_ipxe() {
|
||||||
make %{?_smp_mflags} \
|
make %{?_smp_mflags} \
|
||||||
NO_WERROR=1 V=1 \
|
NO_WERROR=1 V=1 \
|
||||||
|
EXTRA_CFLAGS="-Wno-address-of-packed-member -Wno-enum-conversion -Wno-format-overflow" \
|
||||||
|
EXTRA_LDFLAGS="-z muldefs" \
|
||||||
GITVERSION=%{hash} \
|
GITVERSION=%{hash} \
|
||||||
%if 0%{?cross}
|
%if 0%{?cross}
|
||||||
CROSS_COMPILE=x86_64-linux-gnu- \
|
CROSS_COMPILE=x86_64-linux-gnu- \
|
||||||
@ -236,6 +238,10 @@ done
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 04 2020 Merlin Mathesius <mmathesi@redhat.com> - 20190125-9.git36a4c85f
|
||||||
|
- Workaound fatal GCC 9 compilation/link errors
|
||||||
|
- Fix conditionals for perl BuildRequires
|
||||||
|
|
||||||
* Mon Aug 17 2020 Cole Robinson <aintdiscole@gmail.com> - 20190125-8.git36a4c85f
|
* Mon Aug 17 2020 Cole Robinson <aintdiscole@gmail.com> - 20190125-8.git36a4c85f
|
||||||
- Revert HTTPS support, causes boot hangs with UEFI (bz 1869102)
|
- Revert HTTPS support, causes boot hangs with UEFI (bz 1869102)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user