[Buildroot] [PATCH] thrift: disable for ARC

Baruch Siach baruch at tkos.co.il
Thu May 29 04:17:04 UTC 2014


thrift uses the __sync_fetch_and_add() atomic primitive that is not available
for ARC.

Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
 package/thrift/Config.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/thrift/Config.in b/package/thrift/Config.in
index a7f3479982ed..ac998014bcc6 100644
--- a/package/thrift/Config.in
+++ b/package/thrift/Config.in
@@ -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
-- 
2.0.0.rc2



More information about the buildroot mailing list