From cf8ab58242223fa9391be36d3c4a81389de16e05 Mon Sep 17 00:00:00 2001 From: laokz Date: Mon, 4 Mar 2024 13:49:50 +0800 Subject: [PATCH] riscv64: remove unsupported -fcf-protection --- dlm.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dlm.spec b/dlm.spec index 116616f..8421bfe 100644 --- a/dlm.spec +++ b/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 - 4.2.0-3 +- riscv64: remove -fcf-protection + * Fri Mar 01 2024 zouzhimin - 4.2.0-2 - dlm_controld: fix various deadcode issues -- Gitee