!10 riscv64: remove unsupported -fcf-protection option

From: @laokz 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
This commit is contained in:
openeuler-ci-bot 2024-03-05 01:11:34 +00:00 committed by Gitee
commit 341ec6ede0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: dlm Name: dlm
Version: 4.2.0 Version: 4.2.0
Release: 2 Release: 3
License: GPLv2 and GPLv2+ and LGPLv2+ License: GPLv2 and GPLv2+ and LGPLv2+
Group: System Environment/Kernel Group: System Environment/Kernel
Summary: dlm control daemon and tool Summary: dlm control daemon and tool
@ -48,7 +48,7 @@ developing applications that use %{name}.
%prep %prep
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%ifarch aarch64 %ifarch aarch64 riscv64
sed -i 's/-fcf-protection=full//g' libdlm/Makefile sed -i 's/-fcf-protection=full//g' libdlm/Makefile
sed -i 's/-fcf-protection=full//g' dlm_controld/Makefile sed -i 's/-fcf-protection=full//g' dlm_controld/Makefile
sed -i 's/-fcf-protection=full//g' dlm_tool/Makefile sed -i 's/-fcf-protection=full//g' dlm_tool/Makefile
@ -104,6 +104,9 @@ install -Dm 0644 init/dlm.sysconfig %{buildroot}/etc/sysconfig/dlm
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%changelog %changelog
* Mon Mar 04 2024 laokz <zhangkai@iscas.ac.cn> - 4.2.0-3
- riscv64: remove -fcf-protection
* Fri Mar 01 2024 zouzhimin <zouzhimin@kylinos.cn> - 4.2.0-2 * Fri Mar 01 2024 zouzhimin <zouzhimin@kylinos.cn> - 4.2.0-2
- dlm_controld: fix various deadcode issues - dlm_controld: fix various deadcode issues