diff --git a/grubby.spec b/grubby.spec index 39d637c5168ac82a46d9ae6cd4a10a461f406333..f23e2524c92531786711d8fa86ba408f464e28bc 100644 --- a/grubby.spec +++ b/grubby.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.1 +%define anolis_release .0.2 Name: grubby Version: 8.40 @@ -84,7 +84,7 @@ BuildRequires: libblkid-devel git-core sed make # for make test / getopt: BuildRequires: util-linux-ng BuildRequires: rpm-devel -%ifarch aarch64 i686 x86_64 %{power64} +%ifarch aarch64 i686 x86_64 %{power64} loongarch64 BuildRequires: grub2-tools-minimal Requires: grub2-tools-minimal Requires: grub2-tools @@ -114,6 +114,9 @@ git config --unset user.email git config --unset user.name %build +%ifarch loongarch64 +export CFLAGS="%{optflags} -Wno-error=stringop-truncation -Wno-error=stringop-overflow" +%endif %set_build_flags make %{?_smp_mflags} LDFLAGS="${LDFLAGS}" @@ -176,6 +179,9 @@ current boot environment. %{_mandir}/man8/*.8* %changelog +* Tue Jan 25 2022 zhangwenlong - 8.40-42.0.2 +- Support loongarch64 + * Wed Jan 12 2022 yangxiaoxuan - 8.40-42.0.1 - Rebrand for Anolis OS