blob: 09e4490dbbd3fc8a915e2dfa516a7e992a532301 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From f2ebda1d85b10fd008c21974a0f7aa4e805d0e5c Mon Sep 17 00:00:00 2001
From: Chunrong Guo <chunrong.guo@nxp.com>
Date: Tue, 11 Sep 2018 11:40:55 +0800
Subject: [PATCH] flags: CFLAGS add -Wno-cpp
*fix build with FORTIFY_SOURCES
Signed-off-by: BJ DevOps Team <bjdevops@NXP1.onmicrosoft.com>
---
flags.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flags.mk b/flags.mk
index 71f3d18..43c18f0 100644
--- a/flags.mk
+++ b/flags.mk
@@ -14,7 +14,7 @@ CFLAGS := -Wall -Wbad-function-cast -Wcast-align \
-Wmissing-noreturn -Wmissing-prototypes -Wnested-externs \
-Wpointer-arith -Wshadow -Wstrict-prototypes \
-Wswitch-default -Wunsafe-loop-optimizations \
- -Wwrite-strings -Werror
+ -Wwrite-strings -Werror -Wno-cpp
CFLAGS += -c -fPIC
DEBUG ?= 0
--
2.7.4
|