diff mbox series

poco: Link with libatomic on mips

Message ID 20220718161347.1861813-1-raj.khem@gmail.com
State New
Headers show
Series poco: Link with libatomic on mips | expand

Commit Message

Khem Raj July 18, 2022, 4:13 p.m. UTC
mips compiler does not provide intrinsics for 64bit atomics, use
libatomics to get them.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-support/poco/poco_1.12.0.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/poco/poco_1.12.0.bb b/meta-oe/recipes-support/poco/poco_1.12.0.bb
index 428d374569..c3b52c8885 100644
--- a/meta-oe/recipes-support/poco/poco_1.12.0.bb
+++ b/meta-oe/recipes-support/poco/poco_1.12.0.bb
@@ -67,6 +67,7 @@  EXTRA_OECMAKE:append:class-native = " -DPOCO_UNBUNDLED=OFF"
 EXTRA_OECMAKE:append = " -DCMAKE_SKIP_RPATH=ON"
 
 LDFLAGS:append:riscv32 = "${@bb.utils.contains('PACKAGECONFIG', 'Prometheus', ' -Wl,--no-as-needed -latomic -Wl,--as-needed', '', d)}"
+LDFLAGS:append:mips = "${@bb.utils.contains('PACKAGECONFIG', 'Prometheus', ' -Wl,--no-as-needed -latomic -Wl,--as-needed', '', d)}"
 
 python populate_packages:prepend () {
     poco_libdir = d.expand('${libdir}')