diff options
-rw-r--r-- | Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -81,18 +81,19 @@ CFLAGS_DEF += -fno-strict-aliasing CFLAGS_DEF += -fasynchronous-unwind-tables CFLAGS_DEF += -fno-delete-null-pointer-checks -CFLAGS_DEF += -D_REENTRANT -CFLAGS_DEF += -D_LARGEFILE_SOURCE -CFLAGS_DEF += -D_LARGEFILE64_SOURCE -CFLAGS_DEF += -D_FILE_OFFSET_BITS=64 -CFLAGS_DEF += -DVERSION_STRING=\"$(VERSION_STRING)\" -CFLAGS_DEF += -DVERSION_LONG=\"$(VERSION_LONG)\" -CFLAGS_DEF += -DPREFIX_STRING=\"$(PREFIX)\" +CFLAGS_MIN = -D_REENTRANT +CFLAGS_MIN += -D_LARGEFILE_SOURCE +CFLAGS_MIN += -D_LARGEFILE64_SOURCE +CFLAGS_MIN += -D_FILE_OFFSET_BITS=64 +CFLAGS_MIN += -DVERSION_STRING=\"$(VERSION_STRING)\" +CFLAGS_MIN += -DVERSION_LONG=\"$(VERSION_LONG)\" +CFLAGS_MIN += -DPREFIX_STRING=\"$(PREFIX)\" WFLAGS_DEF = -Wall CPPFLAGS ?= -CFLAGS ?= $(CFLAGS_DEF) $(WFLAGS_DEF) $(CPPFLAGS) -I. +CFLAGS ?= $(CFLAGS_DEF) $(WFLAGS_DEF) $(CPPFLAGS) +override CFLAGS += $(CFLAGS_MIN) -I. LEX_FLAGS = YAAC_FLAGS = |