1From 08e14a662b9e75daec29722e49150869952ba1b6 Mon Sep 17 00:00:00 2001
2From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3Date: Mon, 20 Nov 2017 22:09:39 +0100
4Subject: [PATCH] Makefile: remove -Werror to avoid build failures
5
6Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7[Matthew: Refactoring of Thomas Petazzoni's original.]
8Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
9---
10 Makefile | 1 -
11 1 file changed, 1 deletion(-)
12
13diff --git a/Makefile b/Makefile
14index 7231334..d9ad42b 100644
15--- a/Makefile
16+++ b/Makefile
17@@ -53,7 +53,6 @@ cc-option = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null \
18 COMMON_CFLAGS += -g $(autodepend-flags)
19 COMMON_CFLAGS += -Wall -Wwrite-strings -Wclobbered -Wempty-body -Wuninitialized
20 COMMON_CFLAGS += -Wignored-qualifiers -Wunused-but-set-parameter
21-COMMON_CFLAGS += -Werror
22 frame-pointer-flag=-f$(if $(KEEP_FRAME_POINTER),no-,)omit-frame-pointer
23 fomit_frame_pointer := $(call cc-option, $(frame-pointer-flag), "")
24 fnostack_protector := $(call cc-option, -fno-stack-protector, "")
25--
262.14.2
27
28