Skip to content

Commit 6582c1f

Browse files
committed
Makefile: reunite comment with code
This was severed in 95422d3. Signed-off-by: Tamir Duberstein <[email protected]>
1 parent 1f0113c commit 6582c1f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,9 @@ LIMACTL_DEPS += vz.entitlements
220220
endif
221221

222222
# environment variables for limactl. this variable is used for checking force build.
223+
#
224+
# The hostagent must be compiled with CGO_ENABLED=1 so that net.LookupIP() in the DNS server
225+
# calls the native resolver library and not the simplistic version in the Go library.
223226
ENVS__output/bin/limactl$(exe) = CGO_ENABLED=1 GOOS=$(GOOS) GOARCH=$(GOARCH) CC=$(CC)
224227

225228
_output/bin/limactl$(exe): $(LIMACTL_DEPS) $$(call force_build,$$@)
@@ -229,8 +232,6 @@ ifneq ($(GOOS),windows) #
229232
else
230233
@rm -rf _output/bin/limactl
231234
endif
232-
# The hostagent must be compiled with CGO_ENABLED=1 so that net.LookupIP() in the DNS server
233-
# calls the native resolver library and not the simplistic version in the Go library.
234235
$(ENVS_$@) $(GO_BUILD) -o $@ ./cmd/limactl
235236
ifeq ($(GOOS),darwin)
236237
codesign -f -v --entitlements vz.entitlements -s - $@

0 commit comments

Comments
 (0)