chore(Makefile): add export GOOS=linux to build on macos (#78)

This commit is contained in:
mzz 2023-05-13 15:38:10 +08:00 committed by GitHub
parent 15aab1fc02
commit e5983f0833
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,7 @@ endif
.PHONY: clean-ebpf ebpf dae
dae: export GOOS=linux
dae: ebpf
go build -o $(OUTPUT) -trimpath -ldflags "-s -w -X github.com/daeuniverse/dae/cmd.Version=$(VERSION) -X github.com/daeuniverse/dae/common/consts.MaxMatchSetLen_=$(MAX_MATCH_SET_LEN)" .