Add sec compile option

This commit is contained in:
Hugel 2022-07-12 15:16:11 +08:00
parent cfec760e28
commit 8fa549a2f8

View File

@ -1,7 +1,7 @@
Name: tboot Name: tboot
Summary: A module to perform a measured and verified launch Summary: A module to perform a measured and verified launch
Version: 1.10.2 Version: 1.10.2
Release: 2 Release: 3
Epoch: 1 Epoch: 1
License: BSD-3-Clause License: BSD-3-Clause
@ -23,6 +23,7 @@ and verified launch of an OS kernel/VMM
%autosetup -p1 %autosetup -p1
%build %build
CFLAGS="$RPM_OPT_FLAGS -Wl,-z,relro,-z,now -fPIE -pie"; export CFLAGS
%make_build debug=y %make_build debug=y
%install %install
@ -41,6 +42,9 @@ and verified launch of an OS kernel/VMM
%{_mandir}/man8/*.gz %{_mandir}/man8/*.gz
%changelog %changelog
* Tue Jul 12 2022 Hugel <gengqihu1@h-partners.com> - 1:1.10.2-3
- Add sec compile option
* Tue May 10 2022 caodongxia <caodongxia@h-partners.com> - 1:1.10.2-2 * Tue May 10 2022 caodongxia <caodongxia@h-partners.com> - 1:1.10.2-2
- License compliance rectification - License compliance rectification