zstd: update to 1.5.0 and fix toolchain gcc use.

1.5.0 also fix armv6 bus errors.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2021-07-01 08:30:27 +02:00
parent 97e10fa539
commit e4ce8ee51c

View File

@@ -34,9 +34,11 @@ DIR_APP = $(DIR_SRC)/$(THISAPP)
ifeq "$(TOOLCHAIN)" "1"
TARGET = $(DIR_INFO)/$(THISAPP)-tools
PREFIX = $(TOOLS_DIR)
CC = $(CROSSTARGET)-gcc
else
TARGET = $(DIR_INFO)/$(THISAPP)
PREFIX = /usr
CC = gcc
endif
###############################################################################
@@ -80,7 +82,7 @@ $(subst %,%_MD5,$(objects)) :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make CC=$(CC) $(MAKETUNING)
cd $(DIR_APP) && make prefix=$(PREFIX) install
@rm -rf $(DIR_APP)
@$(POSTBUILD)