riscv64: remove unsupported -fcf-protection
This commit is contained in:
parent
c8eee03714
commit
cf8ab58242
7
dlm.spec
7
dlm.spec
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user