mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
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>
This commit is contained in:
parent
b7a791a103
commit
b6f9dd2a38
@ -2,14 +2,13 @@ config BR2_PACKAGE_LIBTORRENT
|
|||||||
bool "libtorrent"
|
bool "libtorrent"
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
# ARC GCC doesn't support atomic instructions required by this lib
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS
|
||||||
depends on !BR2_arc
|
|
||||||
select BR2_PACKAGE_LIBSIGC
|
select BR2_PACKAGE_LIBSIGC
|
||||||
help
|
help
|
||||||
BitTorrent library written in C++ for *nix
|
BitTorrent library written in C++ for *nix
|
||||||
|
|
||||||
http://libtorrent.rakshasa.no/
|
http://libtorrent.rakshasa.no/
|
||||||
|
|
||||||
comment "libtorrent needs a toolchain w/ C++, threads"
|
comment "libtorrent needs a toolchain w/ C++, threads, atomic intrinsics"
|
||||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
|
||||||
depends on !BR2_arc
|
|| !BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS
|
||||||
|
@ -4,8 +4,7 @@ config BR2_PACKAGE_RTORRENT
|
|||||||
depends on BR2_USE_WCHAR
|
depends on BR2_USE_WCHAR
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
depends on BR2_USE_MMU # fork()
|
depends on BR2_USE_MMU # fork()
|
||||||
# ARC GCC doesn't support atomic instructions required by libtorrent
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS # libtorrent
|
||||||
depends on !BR2_arc
|
|
||||||
select BR2_PACKAGE_LIBCURL
|
select BR2_PACKAGE_LIBCURL
|
||||||
select BR2_PACKAGE_LIBSIGC
|
select BR2_PACKAGE_LIBSIGC
|
||||||
select BR2_PACKAGE_LIBTORRENT
|
select BR2_PACKAGE_LIBTORRENT
|
||||||
@ -16,7 +15,7 @@ config BR2_PACKAGE_RTORRENT
|
|||||||
|
|
||||||
http://libtorrent.rakshasa.no/
|
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_USE_MMU
|
||||||
depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
|
depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS \
|
||||||
depends on !BR2_arc
|
&& BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user