From 2eb63fbdbdada93f2db09ef2abd07df80131eb1f Mon Sep 17 00:00:00 2001 From: Jason Date: Sun, 9 Aug 2020 17:19:31 +0800 Subject: [PATCH] Update Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eb9578f..45a9eb5 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ NAME=tun2socks BINDIR=$(shell pwd)/bin VERSION=$(shell git describe --tags --long || echo "unknown version") BUILDTAGS='fakedns session' -GOBUILD=go build -ldflags '-s -w -extldflags "-static" -X "github.com/xjasonlyu/tun2socks/constant.Version=$(VERSION)"' +GOBUILD=go build -trimpath -ldflags '-s -w -extldflags "-static" -X "github.com/xjasonlyu/tun2socks/constant.Version=$(VERSION)"' all: build