blob: e66a15cd79720bc327a587a5d33aee88df5d0cac [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -04001From: martin f. krafft <madduck@debian.org>
2Subject: Remove -Werror from compiler flags
3
4-Werror seems like a bad idea on released/packaged code because a toolchain
5update (introducing new warnings) could break the build. We'll let upstream
6use it to beautify the code, but remove it for out builds.
7
8Signed-off-by: martin f. krafft <madduck@debian.org>
9
10Upstream-Status: Pending
11---
12 Makefile | 2 +-
13 1 files changed, 1 insertions(+), 1 deletions(-)
14
15--- a/Makefile
16+++ b/Makefile
17@@ -48,7 +48,7 @@ endif
18
19 CC ?= $(CROSS_COMPILE)gcc
20 CXFLAGS ?= -ggdb
21-CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
22+CWFLAGS = -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter
23 ifdef WARN_UNUSED
24 CWFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -O3
25 endif