From 33841aec58431e7ef436f58c7a3a006eacc49340 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 14 Mar 2022 09:42:37 -0700 Subject: 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' Signed-off-by: Khem Raj --- meta-oe/recipes-test/fwts/fwts_22.01.00.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-oe/recipes-test') diff --git a/meta-oe/recipes-test/fwts/fwts_22.01.00.bb b/meta-oe/recipes-test/fwts/fwts_22.01.00.bb index f14d7fd8e6..1f2d3e0521 100644 --- a/meta-oe/recipes-test/fwts/fwts_22.01.00.bb +++ b/meta-oe/recipes-test/fwts/fwts_22.01.00.bb @@ -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" -- cgit 1.2.3-korg