kvmtool: Werror Disabled Patch
PATCH 1/1 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.
--- .../files/0003-kvmtool-Werror-disabled.patch | 24 ++++++++++++++++++++++ recipes-extended/kvmtool/kvmtool.bb | 1 + 2 files changed, 25 insertions(+) create mode 100644 recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch
recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch new file +24 -0
@@ -0,0 +1,24 @@ +From 377a09c16003eaa40f7f337127b10728ee0ade35 Mon Sep 17 00:00:00 2001 +From: Cevat Bostancioglu <[email protected]> +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
recipes-extended/kvmtool/kvmtool.bb +1 -0
@@ -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"
Signature · 1 line
2.7.4
merged!
Bruce
Quoted 58 lines · Cevat Bostancioglu
Couple of compile time
warnings(sizeof-pointer-memaccess, format-truncation)turned into errors before with Werror command, this patch disables this feature.--- .../files/0003-kvmtool-Werror-disabled.patch | 24 ++++++++++++++++++++++ recipes-extended/kvmtool/kvmtool.bb | 1 + 2 files changed, 25 insertions(+) create mode 100644 recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patchrecipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch new file +24
-0@@ -0,0 +1,24 @@ +From 377a09c16003eaa40f7f337127b10728ee0ade35 Mon Sep 17 00:00:00 2001 +From: Cevat Bostancioglu <[email protected]> +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.4recipes-extended/kvmtool/kvmtool.bb +1
-1@@ -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" --2.7.4
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II