libtorrent: use the proper BR2_TOOLCHAIN_HAS_SYNC_x symbols
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 2 Feb 2016 15:31:26 +0000 (16:31 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 6 Feb 2016 10:16:00 +0000 (11:16 +0100)
commit9a6a13469c409cdcc059c2176e8de25a70f074fa
tree847a533b57b05c1427b8ad7252178f0ceeb04826
parent7f4597d94e64c0ff8dc2acf6f5bfabecd272bf02
libtorrent: use the proper BR2_TOOLCHAIN_HAS_SYNC_x symbols

libtorrent uses 1 bytes and 4 bytes __sync built-ins, so let's use the
appropriate BR2_TOOLCHAIN_HAS_SYNC_x symbols instead of
BR2_ARCH_HAS_ATOMICS. The rtorrent package, which is a reverse
dependency of libtorrent, gets fixed as well.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr: build-tested on an ARC toolchain without
 atomics, with CPU 770D]
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
package/libtorrent/Config.in
package/rtorrent/Config.in