commit
5ef6fcf4c3
@ -1,25 +0,0 @@
|
||||
From 1cf1c3e6af1f43555de7ec89cd1e8bc3ea0aaefe Mon Sep 17 00:00:00 2001
|
||||
From: Yunying Sun <yunying.sun@intel.com>
|
||||
Date: Mon, 13 May 2019 17:26:13 +0800
|
||||
Subject: [PATCH] disable address of packed member warning
|
||||
|
||||
---
|
||||
Config.mk | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Config.mk b/Config.mk
|
||||
index 6a64d1a..27bce1b 100644
|
||||
--- a/Config.mk
|
||||
+++ b/Config.mk
|
||||
@@ -43,7 +43,7 @@ CFLAGS_WARN = -Wall -Wformat-security -Werror -Wstrict-prototypes \
|
||||
-Wextra -Winit-self -Wswitch-default -Wunused-parameter \
|
||||
-Wwrite-strings \
|
||||
$(call cc-option,$(CC),-Wlogical-op,) \
|
||||
- -Wno-missing-field-initializers
|
||||
+ -Wno-missing-field-initializers -Wno-address-of-packed-member
|
||||
|
||||
AS = as
|
||||
LD = ld
|
||||
--
|
||||
2.21.0
|
||||
|
||||
BIN
tboot-1.9.12.tar.gz
Normal file
BIN
tboot-1.9.12.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,13 +1,12 @@
|
||||
Name: tboot
|
||||
Summary: A module to perform a measured and verified launch
|
||||
Version: 1.9.7
|
||||
Version: 1.9.12
|
||||
Release: 3
|
||||
Epoch: 1
|
||||
License: BSD
|
||||
|
||||
URL: http://sourceforge.net/projects/tboot/
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
Patch0000: disable-address-of-packed-member-warning.patch
|
||||
|
||||
BuildRequires: gcc trousers-devel openssl-devel
|
||||
|
||||
@ -24,7 +23,6 @@ and verified launch of an OS kernel/VMM
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
|
||||
%make_build debug=y
|
||||
|
||||
%install
|
||||
@ -39,10 +37,13 @@ CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
|
||||
/boot/%{name}-syms
|
||||
|
||||
%files help
|
||||
%doc README docs/* lcptools/lcptools2.txt lcptools/Linux_LCP_Tools_User_Manual.pdf
|
||||
%doc README docs/* lcptools/Linux_LCP_Tools_User_Manual.pdf
|
||||
%{_mandir}/man8/*.gz
|
||||
|
||||
%changelog
|
||||
* Tue Jul 28 2020 chxssg<chxssg@qq.com> - 1:1.9.12-1
|
||||
- update to 1.9.12
|
||||
|
||||
* Sat Jun 20 2020 yaokai13<yaokai13@huawei.com> - 1:1.9.7-3
|
||||
- Fix the build error
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user