From 1aa6fa3edd3f99c9a3fa8ad188851a4751fc6fd0 Mon Sep 17 00:00:00 2001 From: Randy Fay Date: Wed, 5 Feb 2025 07:39:54 -0700 Subject: [PATCH] build: quote CC in Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 71bea6e43820..28b918d2e3ed 100644 --- a/Makefile +++ b/Makefile @@ -223,7 +223,7 @@ endif # # The hostagent must be compiled with CGO_ENABLED=1 so that net.LookupIP() in the DNS server # calls the native resolver library and not the simplistic version in the Go library. -ENVS__output/bin/limactl$(exe) = CGO_ENABLED=1 GOOS=$(GOOS) GOARCH=$(GOARCH) CC=$(CC) +ENVS__output/bin/limactl$(exe) = CGO_ENABLED=1 GOOS="$(GOOS)" GOARCH="$(GOARCH)" CC="$(CC)" _output/bin/limactl$(exe): $(LIMACTL_DEPS) $$(call force_build,$$@) # If the previous cross-compilation was for GOOS=windows, limactl.exe might still be present.