From e5983f08335010f5bfc94a9eccb4001b6bb95944 Mon Sep 17 00:00:00 2001 From: mzz <2017@duck.com> Date: Sat, 13 May 2023 15:38:10 +0800 Subject: [PATCH] chore(Makefile): add export GOOS=linux to build on macos (#78) --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index ec52d70..009f38b 100644 --- a/Makefile +++ b/Makefile @@ -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)" .