build: add libatomic dependency for 32-bit clang
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 28 May 2019 11:07:48 +0000 (12:07 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 3 Jun 2019 21:57:43 +0000 (23:57 +0200)
commitc649f0b4f58e35730d773104d3ba93bf21e21505
treef514fc1d701f742c6e78017a8c62e8e8b025639d
parentbe9d80d4df05715181e01cce79c5c82a9c36d6d5
build: add libatomic dependency for 32-bit clang

When compiling with clang on 32-bit platforms, we are missing copies
of 64-bit atomic functions. We can solve this by linking against
libatomic for the drivers and libs which need those atomic ops.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
drivers/event/octeontx/meson.build
drivers/event/opdl/meson.build
lib/librte_rcu/meson.build