From 3d453572a9906229673d6ff9acf74f6774802c8e Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Mon, 30 Jun 2025 19:22:08 +0200 Subject: [PATCH] Makefile: add grpcnotrace build tag The build tag was added to remove the "golang.org/x/net/trace" dependency[1]. So let's use that. With that we reoduce the binary size by 432KB. [1] https://github.com/grpc/grpc-go/pull/6954 Signed-off-by: Paul Holzinger --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 36fe8c4659..9925fdbf9c 100644 --- a/Makefile +++ b/Makefile @@ -58,6 +58,7 @@ SYSTEMDGENERATORSDIR ?= ${LIBDIR}/systemd/system-generators USERSYSTEMDGENERATORSDIR ?= ${LIBDIR}/systemd/user-generators REMOTETAGS ?= remote exclude_graphdriver_btrfs containers_image_openpgp BUILDTAGS ?= \ + grpcnotrace \ $(shell hack/apparmor_tag.sh) \ $(shell hack/btrfs_installed_tag.sh) \ $(shell hack/sqlite_tag.sh) \