summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2021-08-16 23:43:17 (GMT)
committerYann Collet <cyan@fb.com>2021-08-16 23:43:17 (GMT)
commit596c7472116a9204c5a32cc3d9e588fa8a4b6feb (patch)
tree803f4bcc089a4e05979a2bbc2618278c4ad7795d /tests
parente78eeec86e696f318a0ad1e71d6ad50555d1c0a9 (diff)
downloadlz4-596c7472116a9204c5a32cc3d9e588fa8a4b6feb.zip
lz4-596c7472116a9204c5a32cc3d9e588fa8a4b6feb.tar.gz
lz4-596c7472116a9204c5a32cc3d9e588fa8a4b6feb.tar.bz2
make UNAME externally definable
on top of providing a central definition place, which eases maintenance, it might also help for #1021. Also : updated doc
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 83e3fcb..00f6f3b 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -145,14 +145,14 @@ checkTag: checkTag.c $(LZ4DIR)/lz4.h
ifeq ($(POSIX_ENV),Yes)
MD5:=md5sum
-ifneq (,$(filter $(shell uname), Darwin ))
+ifneq (,$(filter $(shell $(UNAME)), Darwin ))
MD5:=md5 -r
endif
# note : we should probably settle on a single compare utility
CMP:=cmp
DIFF:=diff
-ifneq (,$(filter $(shell uname),SunOS))
+ifneq (,$(filter $(shell $(UNAME)),SunOS))
DIFF:=gdiff
endif