From 07077fcbd05f78ade281621fbfd96f6628b52c61 Mon Sep 17 00:00:00 2001 From: Yuri Shkuro Date: Sat, 31 Aug 2024 17:24:22 -0400 Subject: [PATCH] fix Signed-off-by: Yuri Shkuro --- Makefile.BuildBinaries.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile.BuildBinaries.mk b/Makefile.BuildBinaries.mk index 811ca60e762..f82d3d4042d 100644 --- a/Makefile.BuildBinaries.mk +++ b/Makefile.BuildBinaries.mk @@ -140,7 +140,8 @@ build-binaries-ppc64le: # build all binaries for one specific platform GOOS/GOARCH .PHONY: _build-platform-binaries -_build-platform-binaries: build-agent \ +_build-platform-binaries: \ + build-agent \ build-all-in-one \ build-collector \ build-query \ @@ -153,16 +154,19 @@ _build-platform-binaries: build-agent \ build-esmapping-generator \ build-es-index-cleaner \ build-es-rollover +# invoke make recursively such that DEBUG_BINARY=1 can take effect $(MAKE) _build-platform-binaries-debug GOOS=$(GOOS) GOARCH=$(GOARCH) DEBUG_BINARY=1 # build binaries that support DEBUG release, for one specific platform GOOS/GOARCH .PHONY: _build-platform-binaries-debug -_build-platform-binaries-debug: build-agent \ +_build-platform-binaries-debug: \ + build-agent \ build-collector \ build-query \ build-ingester \ build-remote-storage \ build-all-in-one \ + build-jaeger .PHONY: build-all-platforms build-all-platforms: \