From a1ad737101da09ad56b6a7823f33bc768430da9a Mon Sep 17 00:00:00 2001 From: Jason Date: Wed, 14 Aug 2019 21:45:09 +0800 Subject: [PATCH] fix makefile --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 551bbec..cdea84d 100644 --- a/Makefile +++ b/Makefile @@ -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