summaryrefslogtreecommitdiffstats
path: root/make/zlib.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-10-09 01:06:03 +0000
committerEric Andersen <andersen@codepoet.org>2004-10-09 01:06:03 +0000
commit2d523c23175b8e8772c2e223d92513f836cde8a6 (patch)
tree4482f6ad3b4e5a3259da65110e95cf853ac5d419 /make/zlib.mk
parent3c09cf4b5e7cdc72e3a9945389766e687c476b37 (diff)
downloadbuildroot-novena-2d523c23175b8e8772c2e223d92513f836cde8a6.tar.gz
buildroot-novena-2d523c23175b8e8772c2e223d92513f836cde8a6.zip
Major buildroot facelift, step one.
-Erik
Diffstat (limited to 'make/zlib.mk')
-rw-r--r--make/zlib.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/zlib.mk b/make/zlib.mk
index 298c35abe..27fe43d5c 100644
--- a/make/zlib.mk
+++ b/make/zlib.mk
@@ -8,7 +8,7 @@ ZLIB_SOURCE=zlib-$(ZLIB_VER).tar.bz2
ZLIB_SITE=http://aleron.dl.sourceforge.net/sourceforge/libpng
ZLIB_DIR=$(BUILD_DIR)/zlib-$(ZLIB_VER)
ZLIB_CFLAGS= $(TARGET_CFLAGS) -fPIC
-ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true)
+ifeq ($(BR2_LARGEFILE),y)
ZLIB_CFLAGS+= -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
endif