]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
libusb1: Link with latomic only if compiler has no atomic builtins
authorKhem Raj <raj.khem@gmail.com>
Sat, 21 Jan 2023 01:23:45 +0000 (17:23 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Jan 2023 22:06:48 +0000 (22:06 +0000)
commita026d9afcbe07a8324ca951ba3439373dcb3771c
treeb5925c8c246e756d81cfbb723cdf658dedc748da
parent31daea70b18b2b2266bf94063b655aaf142a6166
libusb1: Link with latomic only if compiler has no atomic builtins

This makes build use compiler to decide from where to get atomics
instead of assuming that it should always come from libatomic, helps
sharing build artifacts with OSes which may not have libatomic installed
because it is not required on those hosts.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/libusb/libusb1/0001-configure.ac-Link-with-latomic-only-if-no-atomic-bui.patch [new file with mode: 0644]
meta/recipes-support/libusb/libusb1_1.0.26.bb