diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-01-20 22:52:19 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-01-20 22:52:19 +0000 |
commit | 075eb13aa98aced33cc5aefc3e232056eca092c6 (patch) | |
tree | 09f658c789e4d85d2821aa2e959465f1b3858ec8 /make/slang.mk | |
parent | b4366afb5020f10738c43d4e4471be1e4d94aac3 (diff) | |
download | buildroot-novena-075eb13aa98aced33cc5aefc3e232056eca092c6.tar.gz buildroot-novena-075eb13aa98aced33cc5aefc3e232056eca092c6.zip |
Minor fixes
Diffstat (limited to 'make/slang.mk')
-rw-r--r-- | make/slang.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/make/slang.mk b/make/slang.mk index 224061e9c..6dc1b287b 100644 --- a/make/slang.mk +++ b/make/slang.mk @@ -9,6 +9,7 @@ SLANG_DIR=$(BUILD_DIR)/slang-1.4.5-mini ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true) SLANG_CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 endif +SLANG_CFLAGS+="-fPIC" $(DL_DIR)/$(SLANG_SOURCE): $(WGET) -P $(DL_DIR) $(SLANG_SITE)/$(SLANG_SOURCE) @@ -17,7 +18,7 @@ $(SLANG_DIR): $(DL_DIR)/$(SLANG_SOURCE) bzcat $(DL_DIR)/$(SLANG_SOURCE) | tar -C $(BUILD_DIR) -xvf - $(SLANG_DIR)/libslang.so: $(SLANG_DIR) - $(MAKE) CFLAGS="-Os -g -fPIC $(SLANG_CFLAGS)" CC=$(TARGET_CC) -C $(SLANG_DIR) + $(MAKE) CFLAGS="-Os -g $(SLANG_CFLAGS)" CC=$(TARGET_CC) -C $(SLANG_DIR) touch -c $(SLANG_DIR)/libslang.so; $(STAGING_DIR)/lib/libslang.so.1: $(SLANG_DIR)/libslang.so |