summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils/files/debian/0001-disable_werror.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/elfutils/files/debian/0001-disable_werror.patch')
-rw-r--r--meta/recipes-devtools/elfutils/files/debian/0001-disable_werror.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/files/debian/0001-disable_werror.patch b/meta/recipes-devtools/elfutils/files/debian/0001-disable_werror.patch
new file mode 100644
index 0000000000..66de238418
--- /dev/null
+++ b/meta/recipes-devtools/elfutils/files/debian/0001-disable_werror.patch
@@ -0,0 +1,35 @@
1From 5d45565e71ddab3d7848077b61eb0ca73c0bcbcc Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Fri, 29 Jun 2018 16:01:14 +0800
4Subject: [PATCH] disable -Werror as it tends to break with new gcc versions
5
6Bug-Debian: https://bugs.debian.org/886004
7Last-Update: 2018-01-01
8
9Signed-off-by: Helmut Grohne <helmut@subdivi.de>
10
11Upstream-Status: Backport from debian
12mdisable_werror.patc and rebase to 0.172
13
14http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.170-0.5.debian.tar.xz
15
16Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
17---
18 config/eu.am | 1 -
19 1 file changed, 1 deletion(-)
20
21diff --git a/config/eu.am b/config/eu.am
22index c2cc349..99b368e 100644
23--- a/config/eu.am
24+++ b/config/eu.am
25@@ -73,7 +73,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Wformat=2 \
26 -Wold-style-definition -Wstrict-prototypes \
27 $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
28 $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \
29- $(if $($(*F)_no_Werror),,-Werror) \
30 $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
31 $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
32 $(if $($(*F)_no_Wpacked_not_aligned),-Wno-packed-not-aligned,) \
33--
342.7.4
35