summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-07-18 10:53:52 -0700
committerKhem Raj <raj.khem@gmail.com>2025-07-18 21:02:45 -0700
commit1997d3d6c43348c663f3295dac3a906ad38549a4 (patch)
tree70bf2f68c77b41b27c6c66449796ab977dfbd3f8
parentc324bee29d7208344df1aa255b19d8b6be407488 (diff)
downloadmeta-openembedded-1997d3d6c43348c663f3295dac3a906ad38549a4.tar.gz
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 <raj.khem@gmail.com> Cc: Jan Luebbe <jlu@pengutronix.de>
-rw-r--r--meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb2
1 files changed, 0 insertions, 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 = ""
46CCACHE = "" 46CCACHE = ""
47CLEANBROKEN = "1" 47CLEANBROKEN = "1"
48 48
49TARGET_CC_ARCH += "${LDFLAGS}"
50
51PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 systemd', d)} des smux" 49PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 systemd', d)} des smux"
52PACKAGECONFIG[des] = "--enable-des, --disable-des" 50PACKAGECONFIG[des] = "--enable-des, --disable-des"
53PACKAGECONFIG[elfutils] = "--with-elf, --without-elf, elfutils" 51PACKAGECONFIG[elfutils] = "--with-elf, --without-elf, elfutils"