diff mbox

thrift: disable for ARC

Message ID e63eec000f13ac9865b58ab5efc736db87cb45d3.1401337024.git.baruch@tkos.co.il
State Accepted
Commit 1aaa14d84f1c920423ed0286b78f64a2b4b2b575
Headers show

Commit Message

Baruch Siach May 29, 2014, 4:17 a.m. UTC
thrift uses the __sync_fetch_and_add() atomic primitive that is not available
for ARC.

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

Comments

Peter Korsgaard May 29, 2014, 9:19 p.m. UTC | #1
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

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

 > Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Committed, thanks.
diff mbox

Patch

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