We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f05e4e8 + c728bf4 commit 17e76caCopy full SHA for 17e76ca
Makefile
@@ -27,8 +27,10 @@ MODULE := github.com/NVIDIA/nvidia-container-toolkit
27
docker-native:
28
include $(CURDIR)/docker/docker.mk
29
30
+GOOS ?= linux
31
+
32
binary:
- go build -ldflags "-s -w" -o "$(LIB_NAME)" $(MODULE)/cmd/$(LIB_NAME)
33
+ GOOS=$(GOOS) go build -ldflags "-s -w" -o "$(LIB_NAME)" $(MODULE)/cmd/$(LIB_NAME)
34
35
# Define the check targets for the Golang codebase
36
.PHONY: check fmt assert-fmt ineffassign lint misspell vet
0 commit comments