From: Bernhard Reutner-Fischer Date: Thu, 21 Dec 2006 10:36:40 +0000 (-0000) Subject: - use global DISABLE_LARGEFILE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba7d905b544679f811cfd3919d8f8a2edbd7b395;p=buildroot.git - use global DISABLE_LARGEFILE --- diff --git a/package/argus/argus.mk b/package/argus/argus.mk index 757adc28f5..991fc3eccf 100644 --- a/package/argus/argus.mk +++ b/package/argus/argus.mk @@ -12,11 +12,6 @@ ARGUS_CAT:=$(ZCAT) ARGUS_BINARY:=bin/argus ARGUS_TARGET_BINARY:=usr/sbin/argus -ARGUS_CONFIG_OPTS:= -ifneq ($(strip $(BR2_LARGEFILE)),y) -ARGUS_CONFIG_OPTS += --disable-largefile -endif - ARGUS_TRAP_CHECK=ac_cv_lbl_unaligned_fail=yes ifeq ($(BR2_i386),y) ARGUS_TRAP_CHECK=ac_cv_lbl_unaligned_fail=no @@ -63,7 +58,7 @@ $(ARGUS_DIR)/.configured: $(ARGUS_DIR)/.unpacked --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ --prefix=/usr \ - $(ARGUS_CONFIG_OPTS) \ + $(DISABLE_LARGEFILE) \ ); touch $(ARGUS_DIR)/.configured diff --git a/package/berkeleydb/berkeleydb.mk b/package/berkeleydb/berkeleydb.mk index d4c19a5fd3..c20d2bca3e 100644 --- a/package/berkeleydb/berkeleydb.mk +++ b/package/berkeleydb/berkeleydb.mk @@ -10,10 +10,6 @@ DB_SOURCE:=db-$(DB_VER).NC.tar.gz DB_DIR:=$(BUILD_DIR)/db-$(DB_VER).NC DB_SHARLIB:=libdb-$(DB_SO_VER).so -ifneq ($(BR2_LARGEFILE),y) -DB_LARGEFILE="--disable-largefile" -endif - $(DL_DIR)/$(DB_SOURCE): $(WGET) -P $(DL_DIR) $(DB_SITE)/$(DB_SOURCE) @@ -48,7 +44,7 @@ $(DB_DIR)/.configured: $(DB_DIR)/.dist --disable-tcl \ --disable-compat185 \ --with-pic \ - $(DB_LARGEFILE) \ + $(DISABLE_LARGEFILE) \ ); $(SED) 's/\.lo/.o/g' $(DB_DIR)/build_unix/Makefile touch $(DB_DIR)/.configured diff --git a/package/gzip/gzip.mk b/package/gzip/gzip.mk index 2de03989da..712dad790a 100644 --- a/package/gzip/gzip.mk +++ b/package/gzip/gzip.mk @@ -12,10 +12,6 @@ GZIP_CAT:=$(ZCAT) GZIP_BINARY:=$(GZIP_DIR)/gzip GZIP_TARGET_BINARY:=$(TARGET_DIR)/bin/zmore -ifneq ($(BR2_LARGEFILE),y) -GZIP_LARGEFILE="--disable-largefile" -endif - $(DL_DIR)/$(GZIP_SOURCE): $(WGET) -P $(DL_DIR) $(GZIP_SITE)/$(GZIP_SOURCE) @@ -44,7 +40,7 @@ $(GZIP_DIR)/.configured: $(GZIP_DIR)/.unpacked --mandir=/usr/man \ --infodir=/usr/info \ $(DISABLE_NLS) \ - $(GZIP_LARGEFILE) \ + $(DISABLE_LARGEFILE) \ ); touch $(GZIP_DIR)/.configured diff --git a/package/lzma/lzma.mk b/package/lzma/lzma.mk index 0c40e88177..0fd3432520 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;