Accept CPPFLAGS from the environment
Don't override CPPFLAGS so that it can be passed through the environment. (This is a patch Thomas Preud'homme wrote for Debian in February 2013.)
This commit is contained in:
parent
63376d7712
commit
87d879aa7b
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -6,7 +6,7 @@ TOP ?= .
|
||||||
include $(TOP)/config.mak
|
include $(TOP)/config.mak
|
||||||
VPATH = $(top_srcdir)
|
VPATH = $(top_srcdir)
|
||||||
|
|
||||||
CPPFLAGS = -I$(TOP) # for config.h
|
CPPFLAGS += -I$(TOP) # for config.h
|
||||||
|
|
||||||
ifeq (-$(findstring gcc,$(CC))-,-gcc-)
|
ifeq (-$(findstring gcc,$(CC))-,-gcc-)
|
||||||
ifeq (-$(findstring $(GCC_MAJOR),01)-,--)
|
ifeq (-$(findstring $(GCC_MAJOR),01)-,--)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue