diff options
-rw-r--r-- | common.mk | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -12,7 +12,10 @@ WFLAGS := -Wall \ $(call cc-option,-Wwrite-strings) \ $(call cc-option,-Wno-sign-compare) CFLAGS += $(WFLAGS) -CPPFLAGS += -D_FILE_OFFSET_BITS=64 + +ifneq ($(WITHOUT_LARGEFILE), 1) + CPPFLAGS += -D_FILE_OFFSET_BITS=64 +endif DESTDIR ?= /usr/local PREFIX=/usr |