mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
xen: temporarily inhibit werror
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
73fff50578
commit
13b554261e
|
@ -0,0 +1,40 @@
|
||||||
|
From 9cff3bf8425ccc593825fcde8ca5eaa32a43d04d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Bruce Ashfield <bruce.ashfield@gmail.com>
|
||||||
|
Date: Thu, 18 Jun 2020 09:05:22 -0400
|
||||||
|
Subject: [PATCH] xen/build: temporarily inhibit Werror
|
||||||
|
|
||||||
|
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
||||||
|
---
|
||||||
|
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
|
||||||
|
|
|
@ -12,6 +12,7 @@ SRC_URI = " \
|
||||||
file://xen-tools-pygrub-change-tabs-into-spaces.patch \
|
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-make-python-scripts-work-with-2.6-and-up.patch \
|
||||||
file://xen-tools-pygrub-py3.patch \
|
file://xen-tools-pygrub-py3.patch \
|
||||||
|
file://0001-xen-build-temporarily-inhibit-Werror.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM ?= "file://COPYING;md5=bbb4b1bdc2c3b6743da3c39d03249095"
|
LIC_FILES_CHKSUM ?= "file://COPYING;md5=bbb4b1bdc2c3b6743da3c39d03249095"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user