From 85d88cd00431102f5410b8511c176a20fba7eef6 Mon Sep 17 00:00:00 2001 From: positiveblue Date: Mon, 17 Oct 2022 09:46:09 -0700 Subject: [PATCH] [skip ci] build: fix makefile targets using `RELEASE_LDFLAGS` I forgot the `-ldflags` before setting the ldflags for the `install` target. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1003770f6..f8d3df3f4 100644 --- a/Makefile +++ b/Makefile @@ -126,8 +126,8 @@ build-itest-race: install: @$(call print, "Installing lnd and lncli.") - $(GOINSTALL) -tags="${tags}" $(RELEASE_LDFLAGS) $(PKG)/cmd/lnd - $(GOINSTALL) -tags="${tags}" $(RELEASE_LDFLAGS) $(PKG)/cmd/lncli + $(GOINSTALL) -tags="${tags}" -ldflags="$(RELEASE_LDFLAGS)" $(PKG)/cmd/lnd + $(GOINSTALL) -tags="${tags}" -ldflags="$(RELEASE_LDFLAGS)" $(PKG)/cmd/lncli release-install: @$(call print, "Installing release lnd and lncli.")