Skip to content
Commit c660d752 authored by Khem Raj's avatar Khem Raj Committed by Steve Sakoman
Browse files

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: default avatarKhem Raj <raj.khem@gmail.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a026d9af)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 47a26348
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment