summaryrefslogtreecommitdiffstats
path: root/make/newt.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/newt.mk')
-rw-r--r--make/newt.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/newt.mk b/make/newt.mk
index cc2359e70..0f804f1cd 100644
--- a/make/newt.mk
+++ b/make/newt.mk
@@ -7,7 +7,7 @@ NEWT_SOURCE=newt-0.51.0.tar.bz2
NEWT_SITE=http://www.uclibc.org/
NEWT_DIR=$(BUILD_DIR)/newt-0.51.0
NEWT_VERSION=0.51.0
-ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true)
+ifeq ($(BR2_LARGEFILE),y)
NEWT_CFLAGS=-Os -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
else
NEWT_CFLAGS=-Os -g