mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08:00
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
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…
Reference in New Issue
Block a user