OSDN Git Service

meson.build: fix intel atomics detection
authorPeter Seiderer <ps.report@gmx.net>
Mon, 16 Jul 2018 21:01:40 +0000 (23:01 +0200)
committerEric Engestrom <eric@engestrom.ch>
Thu, 5 Dec 2019 13:25:30 +0000 (13:25 +0000)
commit8de2696213d0f25a10a167b5fd6c312d6ce6a1af
tree1dd3bdca6037235ff81c02b24a7814af8d8a113e
parent02e1d0ff8b30b85b3223ecf1e38fae3b493cb495
meson.build: fix intel atomics detection

Use the stronger compiler.link() test (instead of the weaker
compiler.compile()) to fix the intel atomics detection.

Fixes false positive in case of sparc compile (buildroot toolchain).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
meson.build