From 88bc08540ef859c8003e26749b6f71135c0fc74f Mon Sep 17 00:00:00 2001 From: Hugel <2712504175@qq.com> Date: Wed, 13 Jul 2022 09:33:42 +0800 Subject: [PATCH] Add sec compile option --- tboot.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tboot.spec b/tboot.spec index 7c71994..395f327 100644 --- a/tboot.spec +++ b/tboot.spec @@ -1,7 +1,7 @@ Name: tboot Summary: A module to perform a measured and verified launch Version: 1.9.12 -Release: 1 +Release: 2 Epoch: 1 License: BSD @@ -23,6 +23,7 @@ and verified launch of an OS kernel/VMM %autosetup -p1 %build +CFLAGS="$RPM_OPT_FLAGS -Wl,-z,relro,-z,now -fPIE -pie -Wno-implicit-fallthrough"; export CFLAGS %make_build debug=y %install @@ -41,6 +42,9 @@ and verified launch of an OS kernel/VMM %{_mandir}/man8/*.gz %changelog +* Tue Jul 12 2022 Hugel - 1:1.9.12-2 +- Add sec compile option + * Thu Aug 27 2020 wangchen - 1:1.9.12-1 - update to 1.9.12 -- Gitee