mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
parent
6f40571ae2
commit
ee122baacf
2 changed files with 6 additions and 2 deletions
|
|
@ -176,7 +176,9 @@ UNAME := $(shell uname)
|
|||
|
||||
ifndef BUILD_DIR
|
||||
ifeq ($(UNAME), Darwin)
|
||||
HASH ?= md5
|
||||
ifeq ($(shell md5 < /dev/null > /dev/null; echo $$?), 0)
|
||||
HASH ?= md5
|
||||
endif
|
||||
else ifeq ($(UNAME), FreeBSD)
|
||||
HASH ?= gmd5sum
|
||||
else ifeq ($(UNAME), NetBSD)
|
||||
|
|
|
|||
|
|
@ -103,7 +103,9 @@ UNAME := $(shell uname)
|
|||
|
||||
ifndef BUILD_DIR
|
||||
ifeq ($(UNAME), Darwin)
|
||||
HASH ?= md5
|
||||
ifeq ($(shell md5 < /dev/null > /dev/null; echo $$?), 0)
|
||||
HASH ?= md5
|
||||
endif
|
||||
else ifeq ($(UNAME), FreeBSD)
|
||||
HASH ?= gmd5sum
|
||||
else ifeq ($(UNAME), NetBSD)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue