mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
sdbus-c++: Link with libatomic on mips/ppc32
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Gianfranco Costamagna <locutusofborg@debian.org>
This commit is contained in:
@@ -28,6 +28,11 @@ EXTRA_OECMAKE = "-DBUILD_CODE_GEN=OFF \
|
|||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
# Link libatomic on architectures without 64bit atomics fixes
|
||||||
|
# libsdbus-c++.so.1.1.0: undefined reference to `__atomic_load_8'
|
||||||
|
LDFLAGS:append:mips = " -Wl,--no-as-needed -latomic -Wl,--as-needed"
|
||||||
|
LDFLAGS:append:powerpc = " -Wl,--no-as-needed -latomic -Wl,--as-needed"
|
||||||
|
|
||||||
do_install:append() {
|
do_install:append() {
|
||||||
if ! ${@bb.utils.contains('PTEST_ENABLED', '1', 'true', 'false', d)}; then
|
if ! ${@bb.utils.contains('PTEST_ENABLED', '1', 'true', 'false', d)}; then
|
||||||
rm -rf ${D}${sysconfdir}/dbus-1
|
rm -rf ${D}${sysconfdir}/dbus-1
|
||||||
|
|||||||
Reference in New Issue
Block a user