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:
Matteo Cypriani 2014-09-07 11:57:09 -04:00
parent 63376d7712
commit 87d879aa7b

View File

@ -6,7 +6,7 @@ TOP ?= .
include $(TOP)/config.mak
VPATH = $(top_srcdir)
CPPFLAGS = -I$(TOP) # for config.h
CPPFLAGS += -I$(TOP) # for config.h
ifeq (-$(findstring gcc,$(CC))-,-gcc-)
ifeq (-$(findstring $(GCC_MAJOR),01)-,--)