From ba7d905b544679f811cfd3919d8f8a2edbd7b395 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 21 Dec 2006 10:36:40 +0000 Subject: - use global DISABLE_LARGEFILE --- package/lzma/lzma.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'package/lzma') 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; -- cgit v1.2.3