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).
ps.report@gmx.net
Signed-off-by: Peter SeidererNotes:
- resend via gitlab pull request, original posted to dri-devel mailing list (see [1])
[1] https://lists.freedesktop.org/archives/dri-devel/2018-July/183885.html
Edited by Peter Seiderer