- use global DISABLE_LARGEFILE
This commit is contained in:
parent
4ab3f3f31f
commit
ba7d905b54
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user