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