blob: 5cd6fffc2756704caa859928dba56db6a1ba5998 [file] [log] [blame]
Andrew Geissler09036742021-06-25 14:25:14 -05001From cfced441d4a6f2eca51d29c52240275bd6f54e49 Mon Sep 17 00:00:00 2001
Andrew Geissler475cb722020-07-10 16:00:51 -05002From: 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>
Andrew Geissler6ce62a22020-11-30 19:58:47 -060013
Andrew Geissler475cb722020-07-10 16:00:51 -050014---
15 config/eu.am | 2 --
16 1 file changed, 2 deletions(-)
17
18diff --git a/config/eu.am b/config/eu.am
Andrew Geissler09036742021-06-25 14:25:14 -050019index 2c3e457..8fb0411 100644
Andrew Geissler475cb722020-07-10 16:00:51 -050020--- a/config/eu.am
21+++ b/config/eu.am
Andrew Geissler09036742021-06-25 14:25:14 -050022@@ -89,7 +89,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Wformat=2 \
23 -Wold-style-definition -Wstrict-prototypes $(TRAMPOLINES_WARNING) \
Andrew Geissler475cb722020-07-10 16:00:51 -050024 $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
25 $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \
26- $(if $($(*F)_no_Werror),,-Werror) \
27 $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
28 $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
Andrew Geissler09036742021-06-25 14:25:14 -050029 $(if $($(*F)_no_Wpacked_not_aligned),$(NO_PACKED_NOT_ALIGNED_WARNING),) \
30@@ -99,7 +98,6 @@ AM_CXXFLAGS = -std=c++11 -Wall -Wshadow \
31 $(TRAMPOLINES_WARNING) \
Andrew Geissler475cb722020-07-10 16:00:51 -050032 $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
33 $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \
34- $(if $($(*F)_no_Werror),,-Werror) \
35 $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
36 $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
Andrew Geissler09036742021-06-25 14:25:14 -050037 $(if $($(*F)_no_Wpacked_not_aligned),$(NO_PACKED_NOT_ALIGNED_WARNING),) \