riscv64: reverse -static-pie patch due to unsupported tool-chains

Until glibc 2.39 and gcc 14, it is supported on RISC-V.

(cherry picked from commit 9ddd2cde330a6d370379ca251fcb5b16a25a0adf)
This commit is contained in:
laokz 2024-09-20 13:36:18 +08:00 committed by openeuler-sync-bot
parent bbc8b0ff62
commit 61f1d18f3a

View File

@ -1,7 +1,7 @@
#Basic Information #Basic Information
Name: syscontainer-tools Name: syscontainer-tools
Version: 0.9 Version: 0.9
Release: 66 Release: 67
Summary: syscontainer tools for IT, work with iSulad Summary: syscontainer tools for IT, work with iSulad
License: Mulan PSL v2 License: Mulan PSL v2
URL: https://gitee.com/openeuler/syscontainer-tools URL: https://gitee.com/openeuler/syscontainer-tools
@ -40,6 +40,10 @@ This is syscontainer tools, to make it work, you need a isulad and util-linux
#Build sections #Build sections
%prep %prep
%autosetup -n %{name}-v%{version} -p1 %autosetup -n %{name}-v%{version} -p1
%ifarch riscv64
# not support -static-pie until glibc2.39, gcc14
%patch11 -R -p1
%endif
%build %build
make init && make make init && make
@ -128,6 +132,12 @@ chmod 0640 ${HOOK_SPEC}/hookspec.json
rm -rfv %{buildroot} rm -rfv %{buildroot}
%changelog %changelog
* Fri Sep 20 2024 laokz <zhangkai@iscas.ac.cn> - 0.9-67
- Type:fix
- CVE:NA
- SUG:NA
- DESC:riscv64: reverse -static-pie patch due to unsupported tool-chains
* Thu Aug 29 2024 wujichao <wujichao1@huawei.com> - 0.9-66 * Thu Aug 29 2024 wujichao <wujichao1@huawei.com> - 0.9-66
- Type:patch - Type:patch
- CVE:NA - CVE:NA