aboutsummaryrefslogtreecommitdiff
path: root/package/lzma/lzma.mk
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-08-04 19:07:18 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-08-04 19:07:18 +0000
commit60b5eee76edfa153ef118d2788c74ac8da1497a0 (patch)
tree4edb8e2572e8803fc92d419920c32142f6b4fa3a /package/lzma/lzma.mk
parent02a623ddf96aa97c341a287bbb4ec5370a069444 (diff)
downloadbuildroot-60b5eee76edfa153ef118d2788c74ac8da1497a0.tar.gz
buildroot-60b5eee76edfa153ef118d2788c74ac8da1497a0.tar.bz2
package: global largefile CFLAGS handling
Diffstat (limited to 'package/lzma/lzma.mk')
-rw-r--r--package/lzma/lzma.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/package/lzma/lzma.mk b/package/lzma/lzma.mk
index ccbe56bd6b..9b0f3883e7 100644
--- a/package/lzma/lzma.mk
+++ b/package/lzma/lzma.mk
@@ -9,10 +9,6 @@ LZMA_CAT:=$(ZCAT)
LZMA_SITE:=http://tukaani.org/lzma/
LZMA_HOST_DIR:=$(TOOL_BUILD_DIR)/lzma-$(LZMA_VERSION)
LZMA_TARGET_DIR:=$(BUILD_DIR)/lzma-$(LZMA_VERSION)
-LZMA_CFLAGS:=$(TARGET_CFLAGS)
-ifeq ($(BR2_LARGEFILE),y)
-LZMA_CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-endif
LZMA_TARGET_BINARY:=bin/lzma
# lzma binary for use on the host
@@ -92,7 +88,7 @@ $(LZMA_TARGET_DIR)/.configured: $(LZMA_TARGET_DIR)/.unpacked
(cd $(LZMA_TARGET_DIR); rm -f config.cache;\
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
- CFLAGS="$(TARGET_CFLAGS) $(LZMA_CFLAGS)" \
+ CFLAGS="$(TARGET_CFLAGS)" \
ac_cv_func_malloc_0_nonnull=yes \
./configure \
--target=$(GNU_TARGET_NAME) \