thrift: Add dependency on atomic intrinsics
authorAnton Kolesov <anton.kolesov@synopsys.com>
Thu, 31 Jul 2014 13:24:50 +0000 (17:24 +0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 3 Aug 2014 09:25:40 +0000 (11:25 +0200)
Thrift requires GCC built-in atomic functions which are architecture specific
and may not be implemented.

[Thomas: remove incorrect empty newline at end of Config.in.]

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/thrift/Config.in

index ac998014bcc63766b53f974dc7af8f492c7bb3a0..23b99e5834fd1c59448376af99033b11a9dd9e06 100644 (file)
@@ -4,7 +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
+       depends on BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS
        select BR2_PACKAGE_BOOST
        select BR2_PACKAGE_LIBEVENT
        select BR2_PACKAGE_OPENSSL
@@ -19,7 +19,7 @@ config BR2_PACKAGE_THRIFT
 
          http://thrift.apache.org/
 
-comment "thrift needs a toolchain w/ C++, largefile, wchar, threads"
+comment "thrift needs a toolchain w/ C++, largefile, wchar, threads, atomic intrinsics"
        depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || \
-               !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
-       depends on !BR2_arc
+               !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
+               !BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS