summaryrefslogtreecommitdiffstats
path: root/make/slang.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-01-15 06:43:29 +0000
committerEric Andersen <andersen@codepoet.org>2003-01-15 06:43:29 +0000
commitec0a71bd70d8f9db8534c708c5c76952d87294a7 (patch)
treecd7af95a381ca6664f75bbb82b0c61dee00200f5 /make/slang.mk
parent72f51a47880c295ffdaf0d2a242047ccc6409d08 (diff)
downloadbuildroot-novena-ec0a71bd70d8f9db8534c708c5c76952d87294a7.tar.gz
buildroot-novena-ec0a71bd70d8f9db8534c708c5c76952d87294a7.zip
Update slang version
Diffstat (limited to 'make/slang.mk')
-rw-r--r--make/slang.mk12
1 files changed, 5 insertions, 7 deletions
diff --git a/make/slang.mk b/make/slang.mk
index b0f89059f..80b6aa77c 100644
--- a/make/slang.mk
+++ b/make/slang.mk
@@ -3,23 +3,21 @@
# slang
#
#############################################################
-SLANG_SOURCE=minislang.tar.gz
+SLANG_SOURCE=slang-1.4.5-mini.tar.bz2
SLANG_SITE:=ftp://busybox.net/
-SLANG_DIR=$(BUILD_DIR)/minislang
+SLANG_DIR=$(BUILD_DIR)/slang-1.4.5-mini
ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true)
-SLANG_CFLAGS="-Os -g -fPIC -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64"
-else
-SLANG_CFLAGS="-Os -g -fPIC"
+SLANG_CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
endif
$(DL_DIR)/$(SLANG_SOURCE):
$(WGET) -P $(DL_DIR) $(SLANG_SITE)/$(SLANG_SOURCE)
$(SLANG_DIR): $(DL_DIR)/$(SLANG_SOURCE)
- zcat $(DL_DIR)/$(SLANG_SOURCE) | tar -C $(BUILD_DIR) -xvf -
+ bzcat $(DL_DIR)/$(SLANG_SOURCE) | tar -C $(BUILD_DIR) -xvf -
$(SLANG_DIR)/libslang.so: $(SLANG_DIR)
- $(MAKE) CFLAGS=$(SLANG_CFLAGS) CC=$(TARGET_CC1) -C $(SLANG_DIR)
+ $(MAKE) CFLAGS="-Os -g -fPIC $(SLANG_CFLAGS)" CC=$(TARGET_CC1) -C $(SLANG_DIR)
touch -c $(SLANG_DIR)/libslang.so;
$(STAGING_DIR)/lib/libslang.so.1: $(SLANG_DIR)/libslang.so