unset ldflags for fix build error

(cherry picked from commit 6be9400fe48650678399552709fe8c23007be6da)
This commit is contained in:
chen-jan 2023-08-28 12:49:08 +08:00 committed by openeuler-sync-bot
parent 3f5dc26fe7
commit 3bededdc5a

View File

@ -1,7 +1,7 @@
%define debug_package %{nil} %define debug_package %{nil}
Name: gnu-efi Name: gnu-efi
Version: 3.0.17 Version: 3.0.17
Release: 4 Release: 5
Summary: Development Libraries and headers for EFI Summary: Development Libraries and headers for EFI
Epoch: 1 Epoch: 1
License: BSD License: BSD
@ -51,6 +51,8 @@ install -Dp %{SOURCE1} gnuefi/gnu/
%build %build
unset LDFLAGS
make make
make apps make apps
%ifarch x86_64 %ifarch x86_64
@ -85,6 +87,9 @@ mv ia32/apps/{route80h.efi,modelist.efi} %{buildroot}/boot/efi/EFI/%{efidir}/ia3
%{_includedir}/efi %{_includedir}/efi
%changelog %changelog
* Mon Aug 28 2023 chenchen <chen_aka_jan@163.com> - 1:3.0.17-5
- unset ldflags for fix build error
* Thu Jul 20 2023 zhangxiang <zhangxiang@iscas.ac.cn> - 1:3.0.17-4 * Thu Jul 20 2023 zhangxiang <zhangxiang@iscas.ac.cn> - 1:3.0.17-4
- Fix ExclusiveArch for riscv64 - Fix ExclusiveArch for riscv64