summaryrefslogtreecommitdiff
path: root/make/zlib.mk
diff options
context:
space:
mode:
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