aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch
blob: 7b1b7f6f00e72b5016dbf5b67a43cd37dede39aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From 532043e6937b78b12d89d0c6001f0e1853143247 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 ece3d2a..da6c1f0 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@
 
 CFLAGS += $(EXTRA_CFLAGS)
 
+WERROR = 0
 ifeq ($(strip $(V)),)
 	ifeq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),)
 		E = @echo