From 151ab04e1e845404ada6722018c14bb56f67aeb7 Mon Sep 17 00:00:00 2001 From: hiddify Date: Fri, 22 Mar 2024 19:12:38 +0000 Subject: [PATCH] fix: cli --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8f70511..87daac6 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,7 @@ linux-amd64: linux-custom: mkdir -p $(BINDIR)/ #env GOARCH=mips $(GOBUILDSRV) -o $(BINDIR)/$(CLINAME) ./cli/ - $(GOBUILDSRV) -o $(BINDIR)/$(CLINAME) ./cli/ + go build -ldflags "-s -w" -trimpath -tags $(TAGS) -o $(BINDIR)/$(CLINAME) ./cli/ chmod +x $(BINDIR)/$(CLINAME) make webui