!6 修复mainline OBS下编译失败
From: @juyin Reviewed-by: @liqingqing_1229 Signed-off-by: @liqingqing_1229
This commit is contained in:
commit
ee2a7d24ee
@ -46,15 +46,13 @@
|
|||||||
|
|
||||||
Name: musl
|
Name: musl
|
||||||
Version: 1.2.2
|
Version: 1.2.2
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: An implementation of the standard library for Linux-based systems
|
Summary: An implementation of the standard library for Linux-based systems
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://musl-libc.org
|
URL: https://musl-libc.org
|
||||||
Source0: %{url}/releases/%{name}-%{version}.tar.gz
|
Source0: %{url}/releases/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
Patch6000: backport-rewrite-wcsnrtombs-to-fix-buffer-overflow.patch
|
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
@ -126,7 +124,7 @@ This package provides a wrapper around gcc to compile
|
|||||||
programs and libraries with musl easily.
|
programs and libraries with musl easily.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%autosetup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export LDFLAGS="%{?build_ldflags} -Wl,-soname,ld-musl.so.1"
|
export LDFLAGS="%{?build_ldflags} -Wl,-soname,ld-musl.so.1"
|
||||||
@ -182,6 +180,9 @@ ln -sr %{buildroot}%{_libdir}/libc.so %{buildroot}%{_libdir}/libutil.so.1
|
|||||||
%{_libdir}/musl-gcc.specs
|
%{_libdir}/musl-gcc.specs
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 25 2021 zhuyan <zhuyan34@huawei.com> - 1.2.2-2
|
||||||
|
- fix compile error
|
||||||
|
|
||||||
* Fri Sep 24 2021 zhuyan <zhuyan34@huawei.com> - 1.2.2-1
|
* Fri Sep 24 2021 zhuyan <zhuyan34@huawei.com> - 1.2.2-1
|
||||||
- upgrade to 1.2.2
|
- upgrade to 1.2.2
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user