Skip to contentSkip to conversation

fwts: Do not use --as-needed on ppc64

PATCH New Khem Raj 1 participant 1 message Mar 14, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 fwts: Do not use --as-needed on ppc64

This is not seen on non ppc64 hosts

Fixes
build/src/lib/src/.libs/libfwts.so: undefined reference to `fwts_acpica_sem_count_get'

---
 meta-oe/recipes-test/fwts/fwts_22.01.00.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-test/fwts/fwts_22.01.00.bb +4 -0
index f14d7fd8e6..1f2d3e0521 100644
@@ -23,6 +23,10 @@ inherit autotools bash-completion pkgconfig
 
 LDFLAGS:append:libc-musl = " -lexecinfo"
 
+# We end up linker barfing with undefined symbols on ppc64 but not on other arches
+# surprisingly
+ASNEEDED:powerpc64le = ""
+
 FILES:${PN} += "${libdir}/fwts/lib*${SOLIBS}"
 FILES:${PN}-dev += "${libdir}/fwts/lib*${SOLIBSDEV} ${libdir}/fwts/lib*.la"
 FILES:${PN}-staticdev += "${libdir}/fwts/lib*a"
Signature · 1 line
2.35.1