summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2020-10-28 18:39:39 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2020-10-28 18:39:39 +0900
commita7d3b72117a2fbd35e8ee51dfa1862b92f8b831c (patch)
treeeee9dd8b9c02ce2a688c127871d0c13070fa4883
parent3ba7b5cf2dc98ebe22291928b38a1e79b79f52e0 (diff)
Make build flags consistent
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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