diff --git a/Makefile b/Makefile index 6ad28db46c9c8c0d23caed895bb1c0c123de2036..5e954b5b9bcdecbccc89272f339ef57e30a0f3a2 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ GOVERSION=$(shell go version) # will be malformed once we codesign it and # unable to execute. # See https://github.com/golang/go/issues/11887#issuecomment-126117692. -ifneq (,$(findstring 1.5, $(GOVERSION))) +ifeq "$(UNAME)" "Darwin" FLAGS=-ldflags="-s" endif