summaryrefslogtreecommitdiffstats
path: root/make/bzip2.mk
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-12-03 01:16:29 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-12-03 01:16:29 +0000
commit77050ddd2b9ceeacb5ce7ade095f6fe0beb31df6 (patch)
treecdf1da04bfb29a7c25320be5a1fd27f0226f537d /make/bzip2.mk
parentce917cf621b8c4a9006d33f3d9783bf3162d0dbf (diff)
downloadbuildroot-novena-77050ddd2b9ceeacb5ce7ade095f6fe0beb31df6.tar.gz
buildroot-novena-77050ddd2b9ceeacb5ce7ade095f6fe0beb31df6.zip
If building without large file support, hack the Makefiles appropriately.
Diffstat (limited to 'make/bzip2.mk')
-rw-r--r--make/bzip2.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/make/bzip2.mk b/make/bzip2.mk
index c16d785ac..6aa4a88df 100644
--- a/make/bzip2.mk
+++ b/make/bzip2.mk
@@ -10,10 +10,6 @@ BZIP2_CAT:=zcat
BZIP2_BINARY:=$(BZIP2_DIR)/bzip2
BZIP2_TARGET_BINARY:=$(TARGET_DIR)/usr/bin/bzmore
-ifeq ($(strip $(BUILD_WITH_LARGEFILE)),false)
-BZIP2_LARGEFILE="--disable-largefile"
-endif
-
$(DL_DIR)/$(BZIP2_SOURCE):
$(WGET) -P $(DL_DIR) $(BZIP2_SITE)/$(BZIP2_SOURCE)
@@ -24,6 +20,10 @@ $(BZIP2_DIR)/.unpacked: $(DL_DIR)/$(BZIP2_SOURCE)
$(SED) "s,ln \$$(,ln -sf \$$(,g" $(BZIP2_DIR)/Makefile
$(SED) "s,ln -s (lib.*),ln -sf \$$1 ; ln -sf libbz2.so.1.0.2 libbz2.so,g" \
$(BZIP2_DIR)/Makefile-libbz2_so
+ifeq ($(strip $(BUILD_WITH_LARGEFILE)),false)
+ $(SED) "s,^BIGFILES,#BIGFILES,g" $(BZIP2_DIR)/Makefile
+ $(SED) "s,^BIGFILES,#BIGFILES,g" $(BZIP2_DIR)/Makefile-libbz2_so
+endif
touch $(BZIP2_DIR)/.unpacked
$(STAGING_DIR)/lib/libbz2.so.1.0.2: $(BZIP2_DIR)/.unpacked