Commit 3ebdc64d authored by Anton Kolesov's avatar Anton Kolesov Committed by Thomas Petazzoni
Browse files

thrift: Add dependency on atomic intrinsics



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: default avatarAnton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent b6f9dd2a
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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