Skip to contentSkip to conversation

thrift: disable for ARC

PATCH New Baruch Siach 2 participants 2 messages May 29, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 thrift: disable for ARC

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

---
 package/thrift/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/thrift/Config.in +2 -0
index a7f3479982ed..ac998014bcc6 100644
@@ -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
Signature · 1 line
2.0.0.rc2
#1 lore raw

PATCH 1/1 thrift: disable for ARC

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

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

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard