summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-05-22 08:32:23 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-05-22 08:32:23 +0300
commit9afc1cd5c0b1e56cdd8192aadb68104aae30ae89 (patch)
treec26f904a6bac8a66d8255d959889f381540808f2 /common.mk
parent180c09de57d8e254716c562bd0537df543d12577 (diff)
parenta15b1a1409721c1d75c1ecaab90bdeca74c26fd4 (diff)
Merge branch 'master' of git://git.infradead.org/mtd-utils
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 5e92b07..d704b44 100644
--- a/common.mk
+++ b/common.mk
@@ -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