From df0df4f1e76a7b858fa7d6123cf2fbf30cda377f Mon Sep 17 00:00:00 2001 From: Dan Fuhry Date: Tue, 16 Apr 2024 08:39:08 -0400 Subject: [PATCH] fix native build detection --- .gitignore | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d81dcea..910f62b 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,7 @@ attestation/client/client machines/event_monitor/event_monitor +machines/machines_agent/machines_agent sase/ws_proxy_client/ws_proxy_client sase/ws_tcp_proxy/ws_tcp_proxy sd/health_exporter/health_exporter diff --git a/Makefile b/Makefile index a1b3223..9078fb1 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ GOMAINDIRS = $(GOMAINSRCS:/main.go=) GOOS ?= $(shell go env GOOS) GOARCH ?= $(shell go env GOARCH) -ifeq ($(GOOS)/$(GOARCH),$(shell go env GOOS)/$(shell go env GOARCH)) +ifeq ($(GOOS)/$(GOARCH),$(shell env - go env GOOS)/$(shell env - go env GOARCH)) NATIVE_BUILD := 1 else NATIVE_BUILD := 0 -- 2.50.1