1From 7317aba872f2bcf052a7db9fa3c7a7ce3c55dc6b Mon Sep 17 00:00:00 2001 2From: Benjamin Berg <bberg@redhat.com> 3Date: Mon, 21 Aug 2017 10:34:40 +0200 4Subject: [PATCH 3/6] Remove -Werror from build 5 6Upstream-Status: Pending 7--- 8 src/Makefile.am | 2 +- 9 src/lib/src/Makefile.am | 2 +- 10 src/utilities/Makefile.am | 2 +- 11 3 files changed, 3 insertions(+), 3 deletions(-) 12 13--- a/src/Makefile.am 14+++ b/src/Makefile.am 15@@ -13,7 +13,7 @@ AM_CPPFLAGS = \ 16 -I$(top_srcdir)/efi_runtime \ 17 -I$(top_srcdir)/smccc_test \ 18 -pthread `pkg-config --cflags glib-2.0 gio-2.0` \ 19- -Wall -Werror -Wextra \ 20+ -Wall -Wextra \ 21 -Wno-address-of-packed-member \ 22 -Wfloat-equal -Wmissing-declarations \ 23 -Wno-long-long -Wredundant-decls -Wshadow \ 24--- a/src/lib/src/Makefile.am 25+++ b/src/lib/src/Makefile.am 26@@ -25,7 +25,7 @@ AM_CPPFLAGS = \ 27 `pkg-config --silence-errors --cflags json-c` \ 28 `pkg-config --cflags glib-2.0 gio-2.0` \ 29 -DDATAROOTDIR=\"$(datarootdir)\" \ 30- -Wall -Werror -Wextra \ 31+ -Wall -Wextra \ 32 -Wno-address-of-packed-member 33 34 pkglib_LTLIBRARIES = libfwts.la 35--- a/src/utilities/Makefile.am 36+++ b/src/utilities/Makefile.am 37@@ -16,7 +16,7 @@ 38 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 39 # 40 41-AM_CPPFLAGS = -Wall -Werror -Wextra -DDATAROOTDIR=\"$(datarootdir)\" \ 42+AM_CPPFLAGS = -Wall -Wextra -DDATAROOTDIR=\"$(datarootdir)\" \ 43 -I$(srcdir)/../lib/include 44 45 bin_PROGRAMS = kernelscan 46