From: Przemyslaw Skibinski Date: Thu, 9 Feb 2017 16:01:17 +0000 (+0100) Subject: echo replaced with printf X-Git-Tag: v1.1.4~1^2~75^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F533%2Fhead;p=thirdparty%2Fzstd.git echo replaced with printf --- diff --git a/programs/Makefile b/programs/Makefile index a7de2e1af..862ba35dd 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -67,7 +67,7 @@ endif # zlib detection VOID = /dev/null -HAVE_ZLIB := $(shell echo $$'\#include \nint main(){}' | $(CC) -o have_zlib -x c - -lz 2> $(VOID) && echo 1 || echo 0) +HAVE_ZLIB := $(shell printf '\#include \nint main(){}' | $(CC) -o have_zlib -x c - -lz 2> $(VOID) && echo 1 || echo 0) ifeq ($(HAVE_ZLIB), 1) TEMP := $(shell rm have_zlib$(EXT)) ZLIBCPP = -DZSTD_GZDECOMPRESS