]> 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)
committerSteve Sakoman <steve@sakoman.com>
Tue, 31 Jan 2023 23:15:53 +0000 (13:15 -1000)
commitf66b0fd1ba7c017e9db7bb94d767d8becb41a455
treebdcf0bf8be8a3ede4165fb3c679cf35a9397b2d1
parent3bf9e22c0ca34595106f5421654cccbce7920cf7
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>
(cherry picked from commit a026d9afcbe07a8324ca951ba3439373dcb3771c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
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