From 13b554261e5aa40d1f1ad06bafd82eedce00ceb9 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Mon, 22 Jun 2020 09:34:13 -0400 Subject: xen: temporarily inhibit werror Signed-off-by: Bruce Ashfield --- ...0001-xen-build-temporarily-inhibit-Werror.patch | 40 ++++++++++++++++++++++ recipes-extended/xen/xen-tools_git.bb | 1 + 2 files changed, 41 insertions(+) create mode 100644 recipes-extended/xen/files/0001-xen-build-temporarily-inhibit-Werror.patch diff --git a/recipes-extended/xen/files/0001-xen-build-temporarily-inhibit-Werror.patch b/recipes-extended/xen/files/0001-xen-build-temporarily-inhibit-Werror.patch new file mode 100644 index 00000000..0f075553 --- /dev/null +++ b/recipes-extended/xen/files/0001-xen-build-temporarily-inhibit-Werror.patch @@ -0,0 +1,40 @@ +From 9cff3bf8425ccc593825fcde8ca5eaa32a43d04d Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield +Date: Thu, 18 Jun 2020 09:05:22 -0400 +Subject: [PATCH] xen/build: temporarily inhibit Werror + +Signed-off-by: Bruce Ashfield +--- + tools/libxl/Makefile | 2 +- + xen/Rules.mk | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile +index 6da342ed61..c67560e269 100644 +--- a/tools/libxl/Makefile ++++ b/tools/libxl/Makefile +@@ -11,7 +11,7 @@ MINOR = 0 + XLUMAJOR = 4.12 + XLUMINOR = 0 + +-CFLAGS += -Werror -Wno-format-zero-length -Wmissing-declarations \ ++CFLAGS += -Wno-format-zero-length -Wmissing-declarations \ + -Wno-declaration-after-statement -Wformat-nonliteral + CFLAGS += -I. -fPIC + +diff --git a/xen/Rules.mk b/xen/Rules.mk +index a151b3f625..a05ceec1e5 100644 +--- a/xen/Rules.mk ++++ b/xen/Rules.mk +@@ -54,7 +54,7 @@ CFLAGS += -fomit-frame-pointer + endif + + CFLAGS += -nostdinc -fno-builtin -fno-common +-CFLAGS += -Werror -Wredundant-decls -Wno-pointer-arith ++CFLAGS += -Wredundant-decls -Wno-pointer-arith + $(call cc-option-add,CFLAGS,CC,-Wvla) + CFLAGS += -pipe -D__XEN__ -include $(BASEDIR)/include/xen/config.h + CFLAGS-$(CONFIG_DEBUG_INFO) += -g +-- +2.19.1 + diff --git a/recipes-extended/xen/xen-tools_git.bb b/recipes-extended/xen/xen-tools_git.bb index 00060df7..de9acc0e 100644 --- a/recipes-extended/xen/xen-tools_git.bb +++ b/recipes-extended/xen/xen-tools_git.bb @@ -12,6 +12,7 @@ SRC_URI = " \ file://xen-tools-pygrub-change-tabs-into-spaces.patch \ file://xen-tools-pygrub-make-python-scripts-work-with-2.6-and-up.patch \ file://xen-tools-pygrub-py3.patch \ + file://0001-xen-build-temporarily-inhibit-Werror.patch \ " LIC_FILES_CHKSUM ?= "file://COPYING;md5=bbb4b1bdc2c3b6743da3c39d03249095" -- cgit v1.2.3-54-g00ecf