thrift: disable for ARC
authorBaruch Siach <baruch@tkos.co.il>
Thu, 29 May 2014 04:17:04 +0000 (07:17 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 29 May 2014 21:18:59 +0000 (23:18 +0200)
thrift uses the __sync_fetch_and_add() atomic primitive that is not available
for ARC.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/thrift/Config.in

index a7f3479982ed81431b3c24b3cb6a3d0710d59083..ac998014bcc63766b53f974dc7af8f492c7bb3a0 100644 (file)
@@ -4,6 +4,7 @@ config BR2_PACKAGE_THRIFT
        depends on BR2_USE_WCHAR
        depends on BR2_LARGEFILE
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_arc # atomic builtins
        select BR2_PACKAGE_BOOST
        select BR2_PACKAGE_LIBEVENT
        select BR2_PACKAGE_OPENSSL
@@ -21,3 +22,4 @@ config BR2_PACKAGE_THRIFT
 comment "thrift needs a toolchain w/ C++, largefile, wchar, threads"
        depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || \
                !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
+       depends on !BR2_arc