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.
1 parent f05e4e8 commit c728bf4Copy full SHA for c728bf4
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