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 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/files/debian/disable_werror.patch b/meta/recipes-devtools/elfutils/files/debian/disable_werror.patch new file mode 100644 index 0000000000..75736bff08 --- /dev/null +++ b/meta/recipes-devtools/elfutils/files/debian/disable_werror.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | From: Helmut Grohne <helmut@subdivi.de> | ||
2 | Subject: disable -Werror as it tends to break with new gcc versions | ||
3 | Bug-Debian: https://bugs.debian.org/886004 | ||
4 | Last-Update: 2018-01-01 | ||
5 | |||
6 | Upstream-Status: Pending [from debian] | ||
7 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
8 | |||
9 | Index: elfutils-0.175/config/eu.am | ||
10 | =================================================================== | ||
11 | --- elfutils-0.175.orig/config/eu.am | ||
12 | +++ elfutils-0.175/config/eu.am | ||
13 | @@ -73,7 +73,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -W | ||
14 | -Wold-style-definition -Wstrict-prototypes \ | ||
15 | $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \ | ||
16 | $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \ | ||
17 | - $(if $($(*F)_no_Werror),,-Werror) \ | ||
18 | $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \ | ||
19 | $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \ | ||
20 | $(if $($(*F)_no_Wpacked_not_aligned),-Wno-packed-not-aligned,) \ | ||