From a158260e842fcfe2b49c3dc2ebc212e3fc5f3d90 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Mon, 17 Oct 2016 20:26:38 +0200 Subject: [PATCH] build: Respect CPPFLAGS override so that e.g. make CPPFLAGS=-DSOMETHING works. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 51fc08e2..9527d12c 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,8 @@ include $(TOP)/config.mak VPATH = $(TOPSRC) CFLAGS += -I$(TOP) +CFLAGS += $(CPPFLAGS) + ifeq (-$(findstring gcc,$(CC))-,-gcc-) ifeq (-$(GCC_MAJOR)-$(findstring $(GCC_MINOR),56789)-,-4--) CFLAGS += -D_FORTIFY_SOURCE=0 -- 2.11.4.GIT