diff --git a/Makefile b/Makefile index 0578fe6759e4..ad6d13f053da 100644 --- a/Makefile +++ b/Makefile @@ -2,15 +2,6 @@ NAME = xray VERSION=$(shell git describe --always --dirty) -export GOARCH ?= -export GOOS ?= - -ifdef GOARCH - ifeq ($(GOOS),darwin) - NAME:=$(NAME)-$(GOARCH) - endif -endif - LDFLAGS = -X github.com/xtls/xray-core/core.build=$(VERSION) -s -w -buildid= PARAMS = -trimpath -ldflags "$(LDFLAGS)" -v MAIN = ./main