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