summaryrefslogtreecommitdiff
path: root/package/lzma
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-21 10:36:40 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-21 10:36:40 +0000
commitba7d905b544679f811cfd3919d8f8a2edbd7b395 (patch)
tree56174a3017821aadfe1f10dcba1359f8fc4cb8c1 /package/lzma
parent4ab3f3f31fab3980b312fd5b6960f1f88f446b42 (diff)
- use global DISABLE_LARGEFILE
Diffstat (limited to 'package/lzma')
-rw-r--r--package/lzma/lzma.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/package/lzma/lzma.mk b/package/lzma/lzma.mk
index 0c40e8817..0fd343252 100644
--- a/package/lzma/lzma.mk
+++ b/package/lzma/lzma.mk
@@ -12,9 +12,7 @@ LZMA_TARGET_DIR:=$(BUILD_DIR)/lzma-$(LZMA_VER)
LZMA_CFLAGS:=$(TARGET_CFLAGS)
ifeq ($(BR2_LARGEFILE),y)
LZMA_CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-LZMA_LARGEFILE="--enable-largefile"
else
-LZMA_LARGEFILE="--disable-largefile"
endif
$(DL_DIR)/$(LZMA_SOURCE):
@@ -75,7 +73,7 @@ $(LZMA_TARGET_DIR)/.configured: $(LZMA_TARGET_DIR)/.source
--includedir=$(TARGET_DIR)/include \
--disable-debug \
$(DISABLE_NLS) \
- $(LZMA_LARGEFILE) \
+ $(DISABLE_LARGEFILE) \
);
touch $(LZMA_TARGET_DIR)/.configured;