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
7VPATH = $(TOPSRC)7VPATH = $(TOPSRC)
8CFLAGS += -I$(TOP)8CFLAGS += -I$(TOP)
9 9
10CFLAGS += $(CPPFLAGS)
11
10ifeq (-$(findstring gcc,$(CC))-,-gcc-)12ifeq (-$(findstring gcc,$(CC))-,-gcc-)
11 ifeq (-$(GCC_MAJOR)-$(findstring $(GCC_MINOR),56789)-,-4--)13 ifeq (-$(GCC_MAJOR)-$(findstring $(GCC_MINOR),56789)-,-4--)
12 CFLAGS += -D_FORTIFY_SOURCE=014 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