fix compile error about unsupported long double type in ppc64le
This commit is contained in:
parent
7eea174541
commit
ffe5283d95
10
musl.spec
10
musl.spec
@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
Name: musl
|
Name: musl
|
||||||
Version: 1.2.3
|
Version: 1.2.3
|
||||||
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
|
||||||
@ -127,6 +127,11 @@ programs and libraries with musl easily.
|
|||||||
%autosetup
|
%autosetup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%ifarch %{power64}
|
||||||
|
# Deal with ABI mismatch on long double between glibc and musl
|
||||||
|
export CC="gcc -mlong-double-64"
|
||||||
|
%endif
|
||||||
|
|
||||||
export LDFLAGS="%{?build_ldflags} -Wl,-soname,ld-musl.so.1"
|
export LDFLAGS="%{?build_ldflags} -Wl,-soname,ld-musl.so.1"
|
||||||
%configure --enable-debug --enable-wrapper=gcc
|
%configure --enable-debug --enable-wrapper=gcc
|
||||||
%make_build
|
%make_build
|
||||||
@ -180,6 +185,9 @@ ln -sr %{buildroot}%{_libdir}/libc.so %{buildroot}%{_libdir}/libutil.so.1
|
|||||||
%{_libdir}/musl-gcc.specs
|
%{_libdir}/musl-gcc.specs
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 14 2024 peng.zou <peng.zou@shingroup.cn> - 1.2.3-2
|
||||||
|
- fix compile error about unsupported long double type in ppc64le
|
||||||
|
|
||||||
* Thu Aug 4 2022 linzhuorong <linzhuorong@huawei.com> - 1.2.3-1
|
* Thu Aug 4 2022 linzhuorong <linzhuorong@huawei.com> - 1.2.3-1
|
||||||
- upgrade to 1.2.3
|
- upgrade to 1.2.3
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user