From 207deeadba2721435a21e0f68c61e522eedef26c Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 23 Apr 2024 17:24:50 +0900 Subject: Add -trimpath to build command --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0416cc35..44b010c5 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ endif ifeq ($(REVISION),) $(error Not on git repository; cannot determine $$FZF_REVISION) endif -BUILD_FLAGS := -a -ldflags "-s -w -X main.version=$(VERSION) -X main.revision=$(REVISION)" -tags "$(TAGS)" +BUILD_FLAGS := -a -ldflags "-s -w -X main.version=$(VERSION) -X main.revision=$(REVISION)" -tags "$(TAGS)" -trimpath BINARY32 := fzf-$(GOOS)_386 BINARY64 := fzf-$(GOOS)_amd64 -- cgit v1.2.3