[Buildroot] [PATCH] libtorrent: disable on ARC arch
Thomas De Schampheleire
patrickdepinguin at gmail.com
Mon Feb 10 11:33:06 UTC 2014
Hi Anton,
On Mon, Feb 10, 2014 at 12:27 PM, Anton Kolesov
<anton.kolesov at synopsys.com> wrote:
> Libtorrent has dependencies on atomic operations. However ARC GCC doesn't
> implement those at the moment so package should be disabled.
>
> This fixes:
> http://autobuild.buildroot.net/results/51414e22c8ea47c38df20d864526a370c5a895d7/
>
> Signed-off-by: Anton Kolesov <anton.kolesov at synopsys.com>
> ---
> package/libtorrent/Config.in | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/package/libtorrent/Config.in b/package/libtorrent/Config.in
> index a7e358d..6c8d09d 100644
> --- a/package/libtorrent/Config.in
> +++ b/package/libtorrent/Config.in
> @@ -2,6 +2,8 @@ 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
> select BR2_PACKAGE_LIBSIGC
> help
> BitTorrent library written in C++ for *nix
This extra 'depends on' should be repeated on the comment about
toolchain options below, so that this comment is only visible when the
actual package is visible.
Have a look at http://buildroot.uclibc.org/downloads/manual/manual.html#dependencies-target-toolchain-options
(Note: you don't have to repeat the "# ARG GCC doesn't support ..." on
the comment)
Best regards,
Thomas
More information about the buildroot
mailing list