summaryrefslogtreecommitdiff
path: root/make/slang.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/slang.mk')
-rw-r--r--make/slang.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/slang.mk b/make/slang.mk
index 17dcaddd5..6a1cb0632 100644
--- a/make/slang.mk
+++ b/make/slang.mk
@@ -6,7 +6,7 @@
SLANG_SOURCE=slang-1.4.5-mini.tar.bz2
SLANG_SITE:=http://www.uclibc.org/
SLANG_DIR=$(BUILD_DIR)/slang-1.4.5-mini
-ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true)
+ifeq ($(BR2_LARGEFILE),y)
SLANG_CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
endif
SLANG_CFLAGS+=-fPIC