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>
This commit is contained in:
Cevat Bostancioglu 2019-06-19 21:00:16 +03:00 committed by Bruce Ashfield
parent bff274db99
commit 9cb299d384
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,24 @@
From 377a09c16003eaa40f7f337127b10728ee0ade35 Mon Sep 17 00:00:00 2001
From: Cevat Bostancioglu <bostancioglucevat@gmail.com>
Date: Wed, 19 Jun 2019 20:36:56 +0300
Subject: [PATCH] WERROR override disabled.
WERROR override causes gcc sizeof-pointer-memaccess, format-truncation errors.
---
Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile
index 030ff4e..fc5e177 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@
# Define WERROR=0 to disable -Werror.
#
+WERROR = 0
ifeq ($(strip $(V)),)
E = @echo
Q = @
--
2.7.4

View File

@ -14,6 +14,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git \
file://0001-Avoid-pointers-for-address-of-packed-members.patch \
file://0001-kvmtool-9p-fixed-compilation-error.patch \
file://0002-kvmtool-add-EXTRA_CFLAGS-variable.patch \
file://0003-kvmtool-Werror-disabled.patch \
"
SRCREV = "0e1882a49f81cb15d328ef83a78849c0ea26eecc"