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.")