summaryrefslogtreecommitdiffstats
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.patch17
1 files changed, 8 insertions, 9 deletions
diff --git a/recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch b/recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch
index 4d2f2555..7b1b7f6f 100644
--- a/recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch
+++ b/recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch
@@ -1,24 +1,23 @@
1From 377a09c16003eaa40f7f337127b10728ee0ade35 Mon Sep 17 00:00:00 2001 1From 532043e6937b78b12d89d0c6001f0e1853143247 Mon Sep 17 00:00:00 2001
2From: Cevat Bostancioglu <bostancioglucevat@gmail.com> 2From: Cevat Bostancioglu <bostancioglucevat@gmail.com>
3Date: Wed, 19 Jun 2019 20:36:56 +0300 3Date: Wed, 19 Jun 2019 20:36:56 +0300
4Subject: [PATCH] WERROR override disabled. 4Subject: [PATCH] WERROR override disabled.
5 5
6WERROR override causes gcc sizeof-pointer-memaccess, format-truncation errors. 6WERROR override causes gcc sizeof-pointer-memaccess, format-truncation errors.
7
7--- 8---
8 Makefile | 1 + 9 Makefile | 1 +
9 1 file changed, 1 insertion(+) 10 1 file changed, 1 insertion(+)
10 11
11diff --git a/Makefile b/Makefile 12diff --git a/Makefile b/Makefile
12index 030ff4e..fc5e177 100644 13index ece3d2a..da6c1f0 100644
13--- a/Makefile 14--- a/Makefile
14+++ b/Makefile 15+++ b/Makefile
15@@ -2,6 +2,7 @@ 16@@ -4,6 +4,7 @@
16 # Define WERROR=0 to disable -Werror. 17
17 # 18 CFLAGS += $(EXTRA_CFLAGS)
18 19
19+WERROR = 0 20+WERROR = 0
20 ifeq ($(strip $(V)),) 21 ifeq ($(strip $(V)),)
21 E = @echo 22 ifeq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),)
22 Q = @ 23 E = @echo
23--
242.7.4