Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 1 | From ff6ab57ba5dd37947ef1ffe5de7af5dbebfeb4e9 Mon Sep 17 00:00:00 2001 |
Andrew Geissler | 475cb72 | 2020-07-10 16:00:51 -0500 | [diff] [blame] | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Mon, 22 Jun 2020 21:35:16 +0000 |
| 4 | Subject: [PATCH] config/eu.am: do not use -Werror |
| 5 | |
| 6 | Due to re-definition of error() on musl, gcc starts throwing |
| 7 | errors where none happen with glibc. Since upstream is not |
| 8 | likely to be interested in musl builds, lets just disable |
| 9 | Werror. |
| 10 | |
| 11 | Upstream-Status: Inappropriate [oe core specific] |
| 12 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 13 | |
Andrew Geissler | 475cb72 | 2020-07-10 16:00:51 -0500 | [diff] [blame] | 14 | --- |
| 15 | config/eu.am | 2 -- |
| 16 | 1 file changed, 2 deletions(-) |
| 17 | |
| 18 | diff --git a/config/eu.am b/config/eu.am |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 19 | index 58cd3c4..ac42390 100644 |
Andrew Geissler | 475cb72 | 2020-07-10 16:00:51 -0500 | [diff] [blame] | 20 | --- a/config/eu.am |
| 21 | +++ b/config/eu.am |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 22 | @@ -91,7 +91,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Wformat=2 \ |
Andrew Geissler | 0903674 | 2021-06-25 14:25:14 -0500 | [diff] [blame] | 23 | -Wold-style-definition -Wstrict-prototypes $(TRAMPOLINES_WARNING) \ |
Andrew Geissler | 475cb72 | 2020-07-10 16:00:51 -0500 | [diff] [blame] | 24 | $(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 Geissler | 0903674 | 2021-06-25 14:25:14 -0500 | [diff] [blame] | 29 | $(if $($(*F)_no_Wpacked_not_aligned),$(NO_PACKED_NOT_ALIGNED_WARNING),) \ |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 30 | @@ -101,7 +100,6 @@ AM_CXXFLAGS = -std=c++11 -Wall -Wshadow \ |
Andrew Geissler | 0903674 | 2021-06-25 14:25:14 -0500 | [diff] [blame] | 31 | $(TRAMPOLINES_WARNING) \ |
Andrew Geissler | 475cb72 | 2020-07-10 16:00:51 -0500 | [diff] [blame] | 32 | $(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 Geissler | 0903674 | 2021-06-25 14:25:14 -0500 | [diff] [blame] | 37 | $(if $($(*F)_no_Wpacked_not_aligned),$(NO_PACKED_NOT_ALIGNED_WARNING),) \ |