summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/poco
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-07-18 09:12:42 -0700
committerKhem Raj <raj.khem@gmail.com>2022-07-18 09:14:02 -0700
commit334a04aba883755b8d038642cab45aefc8db9041 (patch)
tree4d7e76deaa1563be7f81aa5325e1747acc53e9fb /meta-oe/recipes-support/poco
parentde4097f2304b2031265173c7d09aa1a2e983b81c (diff)
downloadmeta-openembedded-334a04aba883755b8d038642cab45aefc8db9041.tar.gz
poco: Link with libatomic on mips
mips compiler does not provide intrinsics for 64bit atomics, use libatomics to get them. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/poco')
-rw-r--r--meta-oe/recipes-support/poco/poco_1.12.0.bb1
1 files changed, 1 insertions, 0 deletions
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 428d37456..c3b52c888 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"
67EXTRA_OECMAKE:append = " -DCMAKE_SKIP_RPATH=ON" 67EXTRA_OECMAKE:append = " -DCMAKE_SKIP_RPATH=ON"
68 68
69LDFLAGS:append:riscv32 = "${@bb.utils.contains('PACKAGECONFIG', 'Prometheus', ' -Wl,--no-as-needed -latomic -Wl,--as-needed', '', d)}" 69LDFLAGS:append:riscv32 = "${@bb.utils.contains('PACKAGECONFIG', 'Prometheus', ' -Wl,--no-as-needed -latomic -Wl,--as-needed', '', d)}"
70LDFLAGS:append:mips = "${@bb.utils.contains('PACKAGECONFIG', 'Prometheus', ' -Wl,--no-as-needed -latomic -Wl,--as-needed', '', d)}"
70 71
71python populate_packages:prepend () { 72python populate_packages:prepend () {
72 poco_libdir = d.expand('${libdir}') 73 poco_libdir = d.expand('${libdir}')