summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch')
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch b/meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch
new file mode 100644
index 0000000000..d4e141927f
--- /dev/null
+++ b/meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch
@@ -0,0 +1,34 @@
1From e169c3fc734be1783b3e1a4768dbec05fb64cb4f Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Fri, 22 Nov 2024 12:50:48 +0100
4Subject: [PATCH] config/eu.am: do not force -Werror
5
6This is undesirable when compiler versions may not be the same
7as what upstream is using for their own testing.
8
9Upstream-Status: Inappropriate [oe-core specific]
10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11---
12 config/eu.am | 2 --
13 1 file changed, 2 deletions(-)
14
15diff --git a/config/eu.am b/config/eu.am
16index 0b7dab5..5e7a03f 100644
17--- a/config/eu.am
18+++ b/config/eu.am
19@@ -99,7 +99,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Wformat=2 \
20 $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
21 $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \
22 $(USE_AFTER_FREE3_WARNING) \
23- $(if $($(*F)_no_Werror),,-Werror) \
24 $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
25 $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
26 $(if $($(*F)_no_Wpacked_not_aligned),$(NO_PACKED_NOT_ALIGNED_WARNING),) \
27@@ -109,7 +108,6 @@ AM_CXXFLAGS = -std=c++11 -Wall -Wshadow \
28 $(TRAMPOLINES_WARNING) \
29 $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
30 $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \
31- $(if $($(*F)_no_Werror),,-Werror) \
32 $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
33 $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
34 $(if $($(*F)_no_Wpacked_not_aligned),$(NO_PACKED_NOT_ALIGNED_WARNING),) \