summaryrefslogtreecommitdiffstats
path: root/package/libtorrent
diff options
context:
space:
mode:
authorAnton Kolesov <anton.kolesov@synopsys.com>2014-07-31 17:24:49 +0400
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-08-03 11:24:56 +0200
commitb6f9dd2a389c1f4da858c928bf48f8baec461082 (patch)
tree9745afab4fff60a2692ff5580feeba94b823209f /package/libtorrent
parentb7a791a103d21835d0e3fb8accfb58346330560f (diff)
downloadbuildroot-b6f9dd2a389c1f4da858c928bf48f8baec461082.tar.gz
buildroot-b6f9dd2a389c1f4da858c928bf48f8baec461082.zip
libtorrent: Add dependency on atomic intrinsics
Libtorrent requires GCC built-in atomic functions which are architecture specific and may not be implemented. This fixes: http://autobuild.buildroot.net/results/51414e22c8ea47c38df20d864526a370c5a895d7/ Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libtorrent')
-rw-r--r--package/libtorrent/Config.in9
1 files changed, 4 insertions, 5 deletions
diff --git a/package/libtorrent/Config.in b/package/libtorrent/Config.in
index a21bf95f71..a706d9814c 100644
--- a/package/libtorrent/Config.in
+++ b/package/libtorrent/Config.in
@@ -2,14 +2,13 @@ config BR2_PACKAGE_LIBTORRENT
bool "libtorrent"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
- # ARC GCC doesn't support atomic instructions required by this lib
- depends on !BR2_arc
+ depends on BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS
select BR2_PACKAGE_LIBSIGC
help
BitTorrent library written in C++ for *nix
http://libtorrent.rakshasa.no/
-comment "libtorrent needs a toolchain w/ C++, threads"
- depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
- depends on !BR2_arc
+comment "libtorrent needs a toolchain w/ C++, threads, atomic intrinsics"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
+ || !BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS
OpenPOWER on IntegriCloud