diff options
Diffstat (limited to 'external/meta-virtualization/recipes-extended/kvmtool')
-rw-r--r-- | external/meta-virtualization/recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch | 24 | ||||
-rw-r--r-- | external/meta-virtualization/recipes-extended/kvmtool/kvmtool.bb | 3 |
2 files changed, 26 insertions, 1 deletions
diff --git a/external/meta-virtualization/recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch b/external/meta-virtualization/recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch new file mode 100644 index 00000000..4d2f2555 --- /dev/null +++ b/external/meta-virtualization/recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch @@ -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 diff --git a/external/meta-virtualization/recipes-extended/kvmtool/kvmtool.bb b/external/meta-virtualization/recipes-extended/kvmtool/kvmtool.bb index d487ee27..90ad8a1f 100644 --- a/external/meta-virtualization/recipes-extended/kvmtool/kvmtool.bb +++ b/external/meta-virtualization/recipes-extended/kvmtool/kvmtool.bb @@ -14,10 +14,11 @@ 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" -PV = "4.14.0+git${SRCREV}" +PV = "4.14.0+git${SRCPV}" S = "${WORKDIR}/git" |