0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-13 20:09:36 +03:00
RPRX
2024-04-26 10:28:15 +00:00
committed by GitHub
parent 45ab4cb5ba
commit b8924782a1

View File

@ -2,15 +2,6 @@ NAME = xray
VERSION=$(shell git describe --always --dirty) 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= LDFLAGS = -X github.com/xtls/xray-core/core.build=$(VERSION) -s -w -buildid=
PARAMS = -trimpath -ldflags "$(LDFLAGS)" -v PARAMS = -trimpath -ldflags "$(LDFLAGS)" -v
MAIN = ./main MAIN = ./main