diff options
Diffstat (limited to 'meta/recipes-devtools/elfutils/files/debian/disable_werror.patch')
-rw-r--r-- | meta/recipes-devtools/elfutils/files/debian/disable_werror.patch | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/meta/recipes-devtools/elfutils/files/debian/disable_werror.patch b/meta/recipes-devtools/elfutils/files/debian/disable_werror.patch index 75736bff08..bb5670a8db 100644 --- a/meta/recipes-devtools/elfutils/files/debian/disable_werror.patch +++ b/meta/recipes-devtools/elfutils/files/debian/disable_werror.patch | |||
@@ -1,17 +1,24 @@ | |||
1 | From dece09fb8c59dbdab356b63fbe6b7554dd2461a4 Mon Sep 17 00:00:00 2001 | ||
1 | From: Helmut Grohne <helmut@subdivi.de> | 2 | From: Helmut Grohne <helmut@subdivi.de> |
2 | Subject: disable -Werror as it tends to break with new gcc versions | 3 | Date: Fri, 23 Nov 2018 15:47:20 +0800 |
4 | Subject: [PATCH] disable -Werror as it tends to break with new gcc versions | ||
5 | |||
3 | Bug-Debian: https://bugs.debian.org/886004 | 6 | Bug-Debian: https://bugs.debian.org/886004 |
4 | Last-Update: 2018-01-01 | 7 | Last-Update: 2018-01-01 |
5 | 8 | ||
6 | Upstream-Status: Pending [from debian] | 9 | Upstream-Status: Pending [from debian] |
7 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 10 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
8 | 11 | ||
9 | Index: elfutils-0.175/config/eu.am | 12 | --- |
10 | =================================================================== | 13 | config/eu.am | 1 - |
11 | --- elfutils-0.175.orig/config/eu.am | 14 | 1 file changed, 1 deletion(-) |
12 | +++ elfutils-0.175/config/eu.am | 15 | |
13 | @@ -73,7 +73,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -W | 16 | diff --git a/config/eu.am b/config/eu.am |
14 | -Wold-style-definition -Wstrict-prototypes \ | 17 | index 82acda3..dede5c6 100644 |
18 | --- a/config/eu.am | ||
19 | +++ b/config/eu.am | ||
20 | @@ -73,7 +73,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Wformat=2 \ | ||
21 | -Wold-style-definition -Wstrict-prototypes -Wtrampolines \ | ||
15 | $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \ | 22 | $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \ |
16 | $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \ | 23 | $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \ |
17 | - $(if $($(*F)_no_Werror),,-Werror) \ | 24 | - $(if $($(*F)_no_Werror),,-Werror) \ |