diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-07-18 10:53:52 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-07-18 21:02:45 -0700 |
commit | 1997d3d6c43348c663f3295dac3a906ad38549a4 (patch) | |
tree | 70bf2f68c77b41b27c6c66449796ab977dfbd3f8 | |
parent | c324bee29d7208344df1aa255b19d8b6be407488 (diff) | |
download | meta-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.bb | 2 |
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 = "" | |||
46 | CCACHE = "" | 46 | CCACHE = "" |
47 | CLEANBROKEN = "1" | 47 | CLEANBROKEN = "1" |
48 | 48 | ||
49 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
50 | |||
51 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 systemd', d)} des smux" | 49 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 systemd', d)} des smux" |
52 | PACKAGECONFIG[des] = "--enable-des, --disable-des" | 50 | PACKAGECONFIG[des] = "--enable-des, --disable-des" |
53 | PACKAGECONFIG[elfutils] = "--with-elf, --without-elf, elfutils" | 51 | PACKAGECONFIG[elfutils] = "--with-elf, --without-elf, elfutils" |