Add -Wno-error=deprecated-declarations to the Config.mk patch

tboot.spec bumped to 1.9.11-8
Resolves: rhbz#1958031

Signed-off-by: Tony Camuso <tcamuso@redhat.com>
This commit is contained in:
Tony Camuso 2021-05-27 10:59:15 -04:00
parent e013bfad08
commit 68d1003c14
2 changed files with 6 additions and 2 deletions

View File

@ -16,7 +16,7 @@ index 6a64d1a..27bce1b 100644
-Wwrite-strings \ -Wwrite-strings \
$(call cc-option,$(CC),-Wlogical-op,) \ $(call cc-option,$(CC),-Wlogical-op,) \
- -Wno-missing-field-initializers - -Wno-missing-field-initializers
+ -Wno-missing-field-initializers -Wno-address-of-packed-member + -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-error=deprecated-declarations
AS = as AS = as
LD = ld LD = ld

View File

@ -1,7 +1,7 @@
Summary: Performs a verified launch using Intel TXT Summary: Performs a verified launch using Intel TXT
Name: tboot Name: tboot
Version: 1.9.11 Version: 1.9.11
Release: 7%{?dist} Release: 8%{?dist}
Epoch: 1 Epoch: 1
License: BSD License: BSD
@ -67,6 +67,10 @@ make debug=y DISTDIR=$RPM_BUILD_ROOT install
/boot/tboot-syms /boot/tboot-syms
%changelog %changelog
* Thu May 27 2021 Tony Camuso <tcamuso@redhat.com> - 1:1.9.11-8
- Add -Wno-error=deprecated-declarations to the Config.mk patch
Resolves: rhbz#1958031
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.9.11-7 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.9.11-7
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937