From 8fa549a2f8a82b4143ac7412b6c235b91ab71ac8 Mon Sep 17 00:00:00 2001 From: Hugel <2712504175@qq.com> Date: Tue, 12 Jul 2022 15:16:11 +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 1738382..88ff777 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.10.2 -Release: 2 +Release: 3 Epoch: 1 License: BSD-3-Clause @@ -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"; 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.10.2-3 +- Add sec compile option + * Tue May 10 2022 caodongxia - 1:1.10.2-2 - License compliance rectification -- Gitee