3rdparty: add wget -nv option

This commit is contained in:
Thomas Bernard 2019-01-22 16:56:31 +01:00
parent 8459266c47
commit e5221ba8d6
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

4
3rdparty/Makefile vendored
View File

@ -64,8 +64,10 @@ PREFIX = $(PWD)/usr
MKDIR = mkdir -p MKDIR = mkdir -p
CP = cp -v CP = cp -v
TAR = $(shell which tar) TAR = $(shell which tar)
# you need either wget or curl to download the files
# wget -nv option is used to avoid messing the output when using "make -j3"
GETURL = $(shell WGET=`which wget` ; if [ "$$?" = "0" ] && [ -x "$$WGET" ] ; \ GETURL = $(shell WGET=`which wget` ; if [ "$$?" = "0" ] && [ -x "$$WGET" ] ; \
then echo "$$WGET" ; \ then echo "$$WGET -nv" ; \
else echo "curl -O -L --max-time 120" ; fi ) else echo "curl -O -L --max-time 120" ; fi )
BUILD_CC := $(CC) BUILD_CC := $(CC)