build: Respect CPPFLAGS override
so that e.g. make CPPFLAGS=-DSOMETHING works.
This commit is contained in:
parent
235711f3d3
commit
a158260e84
1 changed files with 2 additions and 0 deletions
2
Makefile
2
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
|
||||
|
|
Loading…
Reference in a new issue