aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch')
-rw-r--r--recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch14
1 files changed, 8 insertions, 6 deletions
diff --git a/recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch b/recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch
index 7b1b7f6f..fbde7cd4 100644
--- a/recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch
+++ b/recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch
@@ -1,23 +1,25 @@
-From 532043e6937b78b12d89d0c6001f0e1853143247 Mon Sep 17 00:00:00 2001
+From 459ebaebf368869ae26eb8031ff44a789e238988 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.
+Upstream-Status: Inappropriate [embedded specific]
+
---
Makefile | 1 +
1 file changed, 1 insertion(+)
-diff --git a/Makefile b/Makefile
-index ece3d2a..da6c1f0 100644
---- a/Makefile
-+++ b/Makefile
+Index: git/Makefile
+===================================================================
+--- git.orig/Makefile
++++ git/Makefile
@@ -4,6 +4,7 @@
CFLAGS += $(EXTRA_CFLAGS)
+WERROR = 0
ifeq ($(strip $(V)),)
- ifeq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),)
+ ifeq ($(findstring s,$(filter-out --%,$(firstword $(MAKEFLAGS)))),)
E = @echo