diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-07-18 09:12:42 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-07-18 09:14:02 -0700 |
commit | 334a04aba883755b8d038642cab45aefc8db9041 (patch) | |
tree | 4d7e76deaa1563be7f81aa5325e1747acc53e9fb /meta-oe/recipes-support/poco | |
parent | de4097f2304b2031265173c7d09aa1a2e983b81c (diff) | |
download | meta-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.bb | 1 |
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" | |||
67 | EXTRA_OECMAKE:append = " -DCMAKE_SKIP_RPATH=ON" | 67 | EXTRA_OECMAKE:append = " -DCMAKE_SKIP_RPATH=ON" |
68 | 68 | ||
69 | LDFLAGS:append:riscv32 = "${@bb.utils.contains('PACKAGECONFIG', 'Prometheus', ' -Wl,--no-as-needed -latomic -Wl,--as-needed', '', d)}" | 69 | LDFLAGS:append:riscv32 = "${@bb.utils.contains('PACKAGECONFIG', 'Prometheus', ' -Wl,--no-as-needed -latomic -Wl,--as-needed', '', d)}" |
70 | LDFLAGS:append:mips = "${@bb.utils.contains('PACKAGECONFIG', 'Prometheus', ' -Wl,--no-as-needed -latomic -Wl,--as-needed', '', d)}" | ||
70 | 71 | ||
71 | python populate_packages:prepend () { | 72 | python populate_packages:prepend () { |
72 | poco_libdir = d.expand('${libdir}') | 73 | poco_libdir = d.expand('${libdir}') |