From 5404a01eceee8251833c02947e8fc6de932f6ed0 Mon Sep 17 00:00:00 2001 From: chen-jan Date: Tue, 7 Sep 2021 09:09:03 +0000 Subject: [PATCH] add "-fstack-protector-strong" for libcriu.so.2.0 (cherry picked from commit 486d909995a39eb184075feecb33c3cfc68838f0) --- criu.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/criu.spec b/criu.spec index 5f2ad07..4b5a2ca 100644 --- a/criu.spec +++ b/criu.spec @@ -1,6 +1,6 @@ Name: criu Version: 3.15 -Release: 3 +Release: 4 Provides: crtools = %{version}-%{release} Obsoletes: crtools <= 1.0-2 Summary: A tool of Checkpoint/Restore in User-space @@ -60,7 +60,7 @@ Help documents for criu. %autosetup -n %{name}-%{version} -p1 %build -CFLAGS+=`echo %{optflags} | sed -e 's,-fstack-protector\S*,,g'` make V=1 WERROR=0 PREFIX=%{_prefix} RUNDIR=/run/criu PYTHON=python3 +CFLAGS+=`echo %{optflags}` make V=1 WERROR=0 PREFIX=%{_prefix} RUNDIR=/run/criu PYTHON=python3 %install make install-criu DESTDIR=%{buildroot} PREFIX=%{_prefix} LIBDIR=%{_libdir} @@ -94,6 +94,9 @@ chmod 0755 %{buildroot}/run/%{name}/ %doc %{_mandir}/man1/{compel.1*,crit.1*} %changelog +* Tue Sep 07 2021 chenchen - 3.15-4 +- add "-fstack-protector-strong" for libcriu.so.2.0 + * Mon May 31 2021 baizhonggui - 3.15-3 - Add gcc in BuildRequires -- Gitee