We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8c85b8f + ad98aac commit 8aeb035Copy full SHA for 8aeb035
Makefile
@@ -189,6 +189,7 @@ k0s.exe: TARGET_OS = windows
189
k0s.exe: BUILD_GO_CGO_ENABLED = 0
190
191
k0s.exe k0s: $(GO_SRCS) $(codegen_targets) go.sum
192
+ rm -f -- '$@'
193
CGO_ENABLED=$(BUILD_GO_CGO_ENABLED) CGO_CFLAGS='$(BUILD_CGO_CFLAGS)' GOOS=$(TARGET_OS) $(GO) build $(BUILD_GO_FLAGS) -ldflags='$(LD_FLAGS)' -o '$@' main.go
194
ifneq ($(EMBEDDED_BINS_BUILDMODE),none)
195
cat -- bindata_$(TARGET_OS) >>$@
0 commit comments