!49 loongarch64: use glibc instead of unsupported dietlibc
From: @zhangwenlong01 Reviewed-by: @Lostwayzxc Signed-off-by: @Lostwayzxc
This commit is contained in:
commit
b6425a85a6
@ -1,6 +1,6 @@
|
||||
Name: supermin
|
||||
Version: 5.3.3
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: A tool for building supermin appliances, required by libguestfs
|
||||
License: GPLv2+
|
||||
URL: http://libguestfs.org/
|
||||
@ -16,6 +16,8 @@ Patch9003: 9003-fix-cannot-detect-package-manager-on-KylinOS.patch
|
||||
Patch9100: 9100-src-format_ext2_kernel.ml-Rename-function-file-kerne.patch
|
||||
Patch9101: 9101-src-Uncompress-kernel-on-RISC-V.patch
|
||||
BuildRequires: musl-gcc musl-libc-static
|
||||
%elifarch loongarch64
|
||||
BuildRequires: glibc-static
|
||||
%else
|
||||
BuildRequires: dietlibc-devel
|
||||
%endif
|
||||
@ -55,6 +57,8 @@ This contains man files for the using of supermin.
|
||||
%configure --disable-network-tests
|
||||
%ifarch riscv64
|
||||
make -C init CC="musl-gcc"
|
||||
%elifarch loongarch64
|
||||
%make_build
|
||||
%else
|
||||
make -C init CC="diet gcc"
|
||||
%endif
|
||||
@ -80,6 +84,9 @@ install -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Thu Jun 27 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 5.3.3-6
|
||||
- loongarch64: use glibc instead of unsupported dietlibc
|
||||
|
||||
* Mon Apr 22 2024 yueyuankun <yueyuankun@kylinos.cn> - 5.3.3-5
|
||||
- fix cannot detect package manager on KylinOS
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user