From c38efdac64a4704b12d1bd60a4b5fdd939709d25 Mon Sep 17 00:00:00 2001 From: Lars Gierth <larsg@systemli.org> Date: Mon, 14 Dec 2015 04:27:01 +0100 Subject: [PATCH] makefile: add -ldflags to install and nofuse tasks License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org> --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f336c5eda..82d68a9f4 100644 --- a/Makefile +++ b/Makefile @@ -23,13 +23,13 @@ vendor: godep godep save -r ./... install: - cd cmd/ipfs && go install + cd cmd/ipfs && go install -ldflags=$(ldflags) build: cd cmd/ipfs && go build -i -ldflags=$(ldflags) nofuse: - cd cmd/ipfs && go install -tags nofuse + cd cmd/ipfs && go install -tags nofuse -ldflags=$(ldflags) ############################################################## # tests targets -- GitLab