summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/libtorrent/Config.in9
-rw-r--r--package/rtorrent/Config.in9
2 files changed, 8 insertions, 10 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
diff --git a/package/rtorrent/Config.in b/package/rtorrent/Config.in
index fa81cded63..1efc5f1cf0 100644
--- a/package/rtorrent/Config.in
+++ b/package/rtorrent/Config.in
@@ -4,8 +4,7 @@ config BR2_PACKAGE_RTORRENT
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # fork()
- # ARC GCC doesn't support atomic instructions required by libtorrent
- depends on !BR2_arc
+ depends on BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS # libtorrent
select BR2_PACKAGE_LIBCURL
select BR2_PACKAGE_LIBSIGC
select BR2_PACKAGE_LIBTORRENT
@@ -16,7 +15,7 @@ config BR2_PACKAGE_RTORRENT
http://libtorrent.rakshasa.no/
-comment "rtorrent needs a toolchain w/ C++, threads, wchar"
+comment "rtorrent needs a toolchain w/ C++, threads, wchar, atomic intrinsics"
depends on BR2_USE_MMU
- depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
- depends on !BR2_arc
+ depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS \
+ && BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS)
OpenPOWER on IntegriCloud