!3 add safe compilation options fstack-protector-strong

From: @caodongxia
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
This commit is contained in:
openeuler-ci-bot 2021-09-10 07:13:22 +00:00 committed by Gitee
commit 3a64a22be5

View File

@ -2,7 +2,7 @@
Name: bcache-tools Name: bcache-tools
Version: 1.1 Version: 1.1
Release: 1 Release: 2
Summary: userspace tools for bcache Summary: userspace tools for bcache
License: GPL-2.0 License: GPL-2.0
URL: http://bcache.evilpiepirate.org/ URL: http://bcache.evilpiepirate.org/
@ -21,6 +21,8 @@ bcache-tools contains the userspace tools required for bcache.
%autosetup -p1 %autosetup -p1
%build %build
CFLAGS="$CFLAGS -fstack-protector-strong"
export CFLAGS
%make_build all %make_build all
%install %install
@ -45,5 +47,8 @@ mkdir -p %{buildroot}/%{_mandir}/man8
%license COPYING %license COPYING
%changelog %changelog
* Mon Sep 6 2021 caodongxia <caodongxia@huawei.com> - 1.1-2
- add safe compilation options fstack-protector-strong
* Wed Jan 6 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 1.1-1 * Wed Jan 6 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 1.1-1
- init bcache-tools v1.1 - init bcache-tools v1.1