diff options
author | Anton Kolesov <anton.kolesov@synopsys.com> | 2014-07-31 17:24:49 +0400 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-08-03 11:24:56 +0200 |
commit | b6f9dd2a389c1f4da858c928bf48f8baec461082 (patch) | |
tree | 9745afab4fff60a2692ff5580feeba94b823209f /package/rtorrent | |
parent | b7a791a103d21835d0e3fb8accfb58346330560f (diff) |
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/rtorrent')
-rw-r--r-- | package/rtorrent/Config.in | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/package/rtorrent/Config.in b/package/rtorrent/Config.in index fa81cded6..1efc5f1cf 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) |