mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2024-12-30 02:37:01 +00:00
fix makefile
This commit is contained in:
@@ -4,9 +4,8 @@ CMD_DIR=$(shell pwd)/cmd
|
||||
VERSION=$(shell git describe --tags --long || echo "unknown version")
|
||||
BUILD_TIME=$(shell date -u)
|
||||
BUILD_TAGS='fakeDNS stats'
|
||||
GOBUILD=go build -ldflags -X "github.com/xjasonlyu/tun2socks/constant.Version=$(VERSION)" \
|
||||
-X "github.com/xjasonlyu/tun2socks/constant.BuildTime=$(BUILD_TIME)" \
|
||||
-s -w
|
||||
GOBUILD=go build -ldflags -s -w -X "github.com/xjasonlyu/tun2socks/constant.Version=$(VERSION)" \
|
||||
-X "github.com/xjasonlyu/tun2socks/constant.BuildTime=$(BUILD_TIME)"
|
||||
|
||||
all: build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user