From a7d3b72117a2fbd35e8ee51dfa1862b92f8b831c Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 28 Oct 2020 18:39:39 +0900 Subject: [PATCH] Make build flags consistent --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f67bd81e..39c04746 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ endif ifeq ($(REVISION),) $(error Not on git repository; cannot determine $$FZF_REVISION) endif -BUILD_FLAGS := -a -ldflags "-X main.version=$(VERSION) -X main.revision=$(REVISION) -w '-extldflags=$(LDFLAGS)'" -tags "$(TAGS)" +BUILD_FLAGS := -a -ldflags "-s -w -X main.version=$(VERSION) -X main.revision=$(REVISION)" -tags "$(TAGS)" BINARY64 := fzf-$(GOOS)_amd64 BINARYARM5 := fzf-$(GOOS)_arm5