!10 riscv64: remove unsupported -fcf-protection option
From: @laokz Reviewed-by: @jxy_git Signed-off-by: @jxy_git
This commit is contained in:
commit
341ec6ede0
7
dlm.spec
7
dlm.spec
@ -1,6 +1,6 @@
|
||||
Name: dlm
|
||||
Version: 4.2.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
License: GPLv2 and GPLv2+ and LGPLv2+
|
||||
Group: System Environment/Kernel
|
||||
Summary: dlm control daemon and tool
|
||||
@ -48,7 +48,7 @@ developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%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' dlm_controld/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
|
||||
|
||||
%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
|
||||
- dlm_controld: fix various deadcode issues
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user