Update Makefile (#303)
adding LDFLAGS for "shim" target as well. Signed-off-by: Mario Hros <spam@k3a.me>
This commit is contained in:
parent
8508d2bec9
commit
403ccb155b
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -52,7 +52,7 @@ daemon-static:
|
|||
cd containerd && go build -ldflags "-w -extldflags -static ${LDFLAGS}" -tags "$(BUILDTAGS)" -o ../bin/containerd
|
||||
|
||||
shim: bin
|
||||
cd containerd-shim && go build -tags "$(BUILDTAGS)" -ldflags "-w" -o ../bin/containerd-shim
|
||||
cd containerd-shim && go build -tags "$(BUILDTAGS)" -ldflags "-w ${LDFLAGS}" -o ../bin/containerd-shim
|
||||
|
||||
shim-static:
|
||||
cd containerd-shim && go build -ldflags "-w -extldflags -static ${LDFLAGS}" -tags "$(BUILDTAGS)" -o ../bin/containerd-shim
|
||||
|
|
Loading…
Reference in a new issue