add safe compilation options fstack-protector-strong
This commit is contained in:
parent
8616c147fb
commit
f104101dd6
@ -2,7 +2,7 @@
|
||||
|
||||
Name: bcache-tools
|
||||
Version: 1.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: userspace tools for bcache
|
||||
License: GPL-2.0
|
||||
URL: http://bcache.evilpiepirate.org/
|
||||
@ -21,6 +21,8 @@ bcache-tools contains the userspace tools required for bcache.
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
CFLAGS="$CFLAGS -fstack-protector-strong"
|
||||
export CFLAGS
|
||||
%make_build all
|
||||
|
||||
%install
|
||||
@ -45,5 +47,8 @@ mkdir -p %{buildroot}/%{_mandir}/man8
|
||||
%license COPYING
|
||||
|
||||
%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
|
||||
- init bcache-tools v1.1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user