diff options
| author | Michael Matz <matz@suse.de> | 2016-10-17 20:26:38 +0200 |
|---|---|---|
| committer | Michael Matz <matz@suse.de> | 2016-12-15 17:49:55 +0100 |
| commit | a158260e842fcfe2b49c3dc2ebc212e3fc5f3d90 (patch) | |
| tree | 5a18f60330e94019055daca325dabbf3c60eab58 | |
| parent | 235711f3d3a5a41a4bb51a22dca6700aa77d34c1 (diff) | |
| download | tinycc-a158260e842fcfe2b49c3dc2ebc212e3fc5f3d90.tar.gz tinycc-a158260e842fcfe2b49c3dc2ebc212e3fc5f3d90.tar.bz2 | |
build: Respect CPPFLAGS override
so that e.g. make CPPFLAGS=-DSOMETHING works.
| -rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -7,6 +7,8 @@ include $(TOP)/config.mak VPATH = $(TOPSRC) CFLAGS += -I$(TOP) +CFLAGS += $(CPPFLAGS) + ifeq (-$(findstring gcc,$(CC))-,-gcc-) ifeq (-$(GCC_MAJOR)-$(findstring $(GCC_MINOR),56789)-,-4--) CFLAGS += -D_FORTIFY_SOURCE=0 |
