aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch
blob: fbde7cd4e6ae4938bb66de911cd853ce6c7ec3f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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(+)

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 --%,$(firstword $(MAKEFLAGS)))),)
 		E = @echo