]> go.fuhry.dev Git - runtime.git/commitdiff
fix native build detection
authorDan Fuhry <dan@fuhry.com>
Tue, 16 Apr 2024 12:39:08 +0000 (08:39 -0400)
committerDan Fuhry <dan@fuhry.com>
Tue, 16 Apr 2024 12:39:08 +0000 (08:39 -0400)
.gitignore
Makefile

index d81dcead766071908a6a0310981369815646696b..910f62bb6ed7d0c16a450ab269c1bf0574a74e35 100644 (file)
@@ -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
index a1b32234f9beb93a80926876d0911accfb4012a2..9078fb13be053c3ed498601828a4988ce89a85c6 100644 (file)
--- 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