Skip to content

Commit b892478

Browse files
authored
Revert "Makefile: export GOARCH, GOOS"
#3275 (comment) Fixes #3305
1 parent 45ab4cb commit b892478

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Makefile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@ NAME = xray
22

33
VERSION=$(shell git describe --always --dirty)
44

5-
export GOARCH ?=
6-
export GOOS ?=
7-
8-
ifdef GOARCH
9-
ifeq ($(GOOS),darwin)
10-
NAME:=$(NAME)-$(GOARCH)
11-
endif
12-
endif
13-
145
LDFLAGS = -X github.com/xtls/xray-core/core.build=$(VERSION) -s -w -buildid=
156
PARAMS = -trimpath -ldflags "$(LDFLAGS)" -v
167
MAIN = ./main

0 commit comments

Comments
 (0)