summaryrefslogtreecommitdiffstats
path: root/recipes-extended/kvmtool
diff options
context:
space:
mode:
authorCevat Bostancioglu <bostancioglucevat@gmail.com>2019-06-19 21:00:16 +0300
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-06-25 00:11:58 -0400
commit9cb299d384a1a257ab4127a70d41d33dc8eded06 (patch)
tree6b5778a2c24ada8b54623cce0aa1962fbdb153b4 /recipes-extended/kvmtool
parentbff274db9948484cbdcb03b23ff2106448a3448a (diff)
downloadmeta-virtualization-9cb299d384a1a257ab4127a70d41d33dc8eded06.tar.gz
kvmtool: Werror Disabled Patch
Couple of compile time warnings(sizeof-pointer-memaccess, format-truncation) turned into errors before with Werror command, this patch disables this feature. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended/kvmtool')
-rw-r--r--recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch24
-rw-r--r--recipes-extended/kvmtool/kvmtool.bb1
2 files changed, 25 insertions, 0 deletions
diff --git a/recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch b/recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch
new file mode 100644
index 00000000..4d2f2555
--- /dev/null
+++ b/recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch
@@ -0,0 +1,24 @@
1From 377a09c16003eaa40f7f337127b10728ee0ade35 Mon Sep 17 00:00:00 2001
2From: Cevat Bostancioglu <bostancioglucevat@gmail.com>
3Date: Wed, 19 Jun 2019 20:36:56 +0300
4Subject: [PATCH] WERROR override disabled.
5
6WERROR override causes gcc sizeof-pointer-memaccess, format-truncation errors.
7---
8 Makefile | 1 +
9 1 file changed, 1 insertion(+)
10
11diff --git a/Makefile b/Makefile
12index 030ff4e..fc5e177 100644
13--- a/Makefile
14+++ b/Makefile
15@@ -2,6 +2,7 @@
16 # Define WERROR=0 to disable -Werror.
17 #
18
19+WERROR = 0
20 ifeq ($(strip $(V)),)
21 E = @echo
22 Q = @
23--
242.7.4
diff --git a/recipes-extended/kvmtool/kvmtool.bb b/recipes-extended/kvmtool/kvmtool.bb
index cb09c66d..90ad8a1f 100644
--- a/recipes-extended/kvmtool/kvmtool.bb
+++ b/recipes-extended/kvmtool/kvmtool.bb
@@ -14,6 +14,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git \
14 file://0001-Avoid-pointers-for-address-of-packed-members.patch \ 14 file://0001-Avoid-pointers-for-address-of-packed-members.patch \
15 file://0001-kvmtool-9p-fixed-compilation-error.patch \ 15 file://0001-kvmtool-9p-fixed-compilation-error.patch \
16 file://0002-kvmtool-add-EXTRA_CFLAGS-variable.patch \ 16 file://0002-kvmtool-add-EXTRA_CFLAGS-variable.patch \
17 file://0003-kvmtool-Werror-disabled.patch \
17 " 18 "
18 19
19SRCREV = "0e1882a49f81cb15d328ef83a78849c0ea26eecc" 20SRCREV = "0e1882a49f81cb15d328ef83a78849c0ea26eecc"