Skip to content

Commit

Permalink
Revert "Makefile: export GOARCH, GOOS"
Browse files Browse the repository at this point in the history
  • Loading branch information
RPRX authored Apr 26, 2024
1 parent 45ab4cb commit b892478
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b892478

Please sign in to comment.