summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils/files/debian/disable_werror.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/elfutils/files/debian/disable_werror.patch')
-rw-r--r--meta/recipes-devtools/elfutils/files/debian/disable_werror.patch21
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 @@
1From dece09fb8c59dbdab356b63fbe6b7554dd2461a4 Mon Sep 17 00:00:00 2001
1From: Helmut Grohne <helmut@subdivi.de> 2From: Helmut Grohne <helmut@subdivi.de>
2Subject: disable -Werror as it tends to break with new gcc versions 3Date: Fri, 23 Nov 2018 15:47:20 +0800
4Subject: [PATCH] disable -Werror as it tends to break with new gcc versions
5
3Bug-Debian: https://bugs.debian.org/886004 6Bug-Debian: https://bugs.debian.org/886004
4Last-Update: 2018-01-01 7Last-Update: 2018-01-01
5 8
6Upstream-Status: Pending [from debian] 9Upstream-Status: Pending [from debian]
7Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 10Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
8 11
9Index: 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 16diff --git a/config/eu.am b/config/eu.am
14 -Wold-style-definition -Wstrict-prototypes \ 17index 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) \