summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-06-26 09:18:20 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-28 08:36:00 +0100
commit22781f1a89de4681f5c2421156b095c024d67de7 (patch)
tree9ab04dee2cb2a3748480338d34a7b07b2ac7842f /meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch
parent658cde8788c2faf9532d332e37a6d98b14b070c5 (diff)
downloadpoky-22781f1a89de4681f5c2421156b095c024d67de7.tar.gz
elfutils: upgrade 0.179 -> 0.180
Drop all the debian patches: they are very invasive, the use case is unclear, and rebasing them is just too hard. Refresh 0002-musl-libs.patch Add a new musl fix: 0015-config-eu.am-do-not-use-Werror.patch Add a reproducibility fix: 0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch (From OE-Core rev: 79c290a0823ee996c69bb02a82dc6ded00fae629) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch')
-rw-r--r--meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch b/meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch
new file mode 100644
index 0000000000..c3ae357265
--- /dev/null
+++ b/meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch
@@ -0,0 +1,36 @@
1From dce2187dd8f592316357b200ebbe8dbed9ee65cb Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 22 Jun 2020 21:35:16 +0000
4Subject: [PATCH] config/eu.am: do not use -Werror
5
6Due to re-definition of error() on musl, gcc starts throwing
7errors where none happen with glibc. Since upstream is not
8likely to be interested in musl builds, lets just disable
9Werror.
10
11Upstream-Status: Inappropriate [oe core specific]
12Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
13---
14 config/eu.am | 2 --
15 1 file changed, 2 deletions(-)
16
17diff --git a/config/eu.am b/config/eu.am
18index 6c3c444..3bc0dc9 100644
19--- a/config/eu.am
20+++ b/config/eu.am
21@@ -73,7 +73,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Wformat=2 \
22 -Wold-style-definition -Wstrict-prototypes -Wtrampolines \
23 $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
24 $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \
25- $(if $($(*F)_no_Werror),,-Werror) \
26 $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
27 $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
28 $(if $($(*F)_no_Wpacked_not_aligned),-Wno-packed-not-aligned,) \
29@@ -83,7 +82,6 @@ AM_CXXFLAGS = -std=c++11 -Wall -Wshadow \
30 -Wtrampolines \
31 $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
32 $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \
33- $(if $($(*F)_no_Werror),,-Werror) \
34 $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
35 $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
36 $(if $($(*F)_no_Wpacked_not_aligned),-Wno-packed-not-aligned,) \