From f2ebda1d85b10fd008c21974a0f7aa4e805d0e5c Mon Sep 17 00:00:00 2001 From: Chunrong Guo 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 --- 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