History

build: Respect CPPFLAGS override

so that e.g. make CPPFLAGS=-DSOMETHING works.

Michael Matz committed 10 years ago

Commit a1582601 parent 235711f1 file · +2 −0Browse files

Unified · Split

Makefile+2−0
@@ -7,6 +7,8 @@ include $(TOP)/config.mak · 6 unmodified lines
77 VPATH = $(TOPSRC)
88 CFLAGS += -I$(TOP)
99
10+CFLAGS += $(CPPFLAGS)
11+
1012 ifeq (-$(findstring gcc,$(CC))-,-gcc-)
1113 ifeq (-$(GCC_MAJOR)-$(findstring $(GCC_MINOR),56789)-,-4--)
1214 CFLAGS += -D_FORTIFY_SOURCE=0

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t