mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-22 11:23:32 +02:00
Revert "Makefile: export GOARCH, GOOS"
https://github.com/XTLS/Xray-core/pull/3275#issuecomment-2079093724 Fixes https://github.com/XTLS/Xray-core/issues/3305
This commit is contained in:
parent
45ab4cb5ba
commit
b8924782a1
1 changed files with 0 additions and 9 deletions
9
Makefile
9
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
|
||||
|
|
Loading…
Reference in a new issue