diff options
Diffstat (limited to 'recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch')
-rw-r--r-- | recipes-extended/kvmtool/files/0003-kvmtool-Werror-disabled.patch | 17 |
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 @@ | |||
1 | From 377a09c16003eaa40f7f337127b10728ee0ade35 Mon Sep 17 00:00:00 2001 | 1 | From 532043e6937b78b12d89d0c6001f0e1853143247 Mon Sep 17 00:00:00 2001 |
2 | From: Cevat Bostancioglu <bostancioglucevat@gmail.com> | 2 | From: Cevat Bostancioglu <bostancioglucevat@gmail.com> |
3 | Date: Wed, 19 Jun 2019 20:36:56 +0300 | 3 | Date: Wed, 19 Jun 2019 20:36:56 +0300 |
4 | Subject: [PATCH] WERROR override disabled. | 4 | Subject: [PATCH] WERROR override disabled. |
5 | 5 | ||
6 | WERROR override causes gcc sizeof-pointer-memaccess, format-truncation errors. | 6 | WERROR 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 | ||
11 | diff --git a/Makefile b/Makefile | 12 | diff --git a/Makefile b/Makefile |
12 | index 030ff4e..fc5e177 100644 | 13 | index 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 | -- | ||
24 | 2.7.4 | ||