makefile: add -ldflags to install and nofuse tasks
License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org>
Lars Gierth committed
Dec 14, 2015 at 04:27 UTC
c38efdac64a4704b12d1bd60a4b5fdd939709d25
1 file changed
+2
-2
Makefile
+2
-2
@@ -23,13 +23,13 @@ vendor: godep
23
godep save -r ./...
24
25
install:
26
- cd cmd/ipfs && go install
26
+ cd cmd/ipfs && go install -ldflags=$(ldflags)
27
28
build:
29
cd cmd/ipfs && go build -i -ldflags=$(ldflags)
30
31
nofuse:
32
- cd cmd/ipfs && go install -tags nofuse
32
+ cd cmd/ipfs && go install -tags nofuse -ldflags=$(ldflags)
33
34
##############################################################
35
# tests targets