From 1997d3d6c43348c663f3295dac3a906ad38549a4 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 18 Jul 2025 10:53:52 -0700 Subject: net-snmp: Do not pass LDFLAGS to compiler This fixed issues like incompatible hash sections it was added in 2009 [1], however these errors are not seen in todays OE builds On the contrary it regresses build with clang since it rejects the options which results in some configure test failures, resulting finally in build/compile failures arm-yoe-linux-gnueabi-clang: warning: -Wl,-O1: 'linker' input unused [-Wunused-command-line-argument] [1] https://git.openembedded.org/openembedded/commit/?id=07f750c6382476b799201b5ca47f93a5f7aa7e84 Signed-off-by: Khem Raj Cc: Jan Luebbe --- meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb index 6a62304a1c..7c849cf5e7 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb @@ -46,8 +46,6 @@ PARALLEL_MAKE = "" CCACHE = "" CLEANBROKEN = "1" -TARGET_CC_ARCH += "${LDFLAGS}" - PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 systemd', d)} des smux" PACKAGECONFIG[des] = "--enable-des, --disable-des" PACKAGECONFIG[elfutils] = "--with-elf, --without-elf, elfutils" -- cgit v1.2.3-54-g00ecf