From 8ac0b1e1f3fb7d51880dcfe85aeecca755ed2750 Mon Sep 17 00:00:00 2001 From: Niklas Thorild Date: Wed, 22 Apr 2026 19:10:45 +0200 Subject: [PATCH] telegraf: enable static linking for arm targets - Fixes "2.44 assertion fail elf32-arm.c:9910" build error Signed-off-by: Niklas Thorild --- utils/telegraf/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/telegraf/Makefile b/utils/telegraf/Makefile index 2dfbec3f9d..2dbccdcae1 100644 --- a/utils/telegraf/Makefile +++ b/utils/telegraf/Makefile @@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=telegraf PKG_VERSION:=1.38.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/influxdata/telegraf/tar.gz/v$(PKG_VERSION)? @@ -24,7 +24,7 @@ GO_PKG_LDFLAGS_X := \ github.com/influxdata/telegraf/internal.Version=$(PKG_VERSION) \ github.com/influxdata/telegraf/internal.Branch=HEAD -ifeq ($(CONFIG_mips)$(CONFIG_mipsel),y) +ifneq ($(filter arm mips mipsel,$(ARCH)),) TARGET_LDFLAGS += -static endif