This commit is contained in:
Jason
2019-08-13 16:50:37 +08:00
parent 0e250c900a
commit 1eedc8ec20
20 changed files with 45 additions and 679 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ NAME=tun2socks
BUILDDIR=$(shell pwd)/build
CMDDIR=$(shell pwd)/cmd/tun2socks
VERSION=$(shell git describe --tags --long || echo "unknown version")
BUILD_TAGS='exception fakedns socks stats'
BUILD_TAGS='fakedns socks stats'
BUILD_LDFLAGS='-s -w -X "main.version=$(VERSION)"'
GOBUILD=go build -ldflags $(BUILD_LDFLAGS) -v -tags $(BUILD_TAGS)