merged! Bruce
On Wed, Jun 19, 2019 at 2:00 PM Cevat Bostancioglu <[email protected]> wrote: > > 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 > > 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 0000000..4d2f255 > --- /dev/null > +++ b/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 <[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 > diff --git a/recipes-extended/kvmtool/kvmtool.bb > b/recipes-extended/kvmtool/kvmtool.bb > index d487ee2..004e09e 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 \ > 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 -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II -- _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
