From: Anton Kolesov Date: Thu, 31 Jul 2014 13:24:50 +0000 (+0400) Subject: thrift: Add dependency on atomic intrinsics X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ebdc64dcc687a95dd4fed7eda8ff811d2db0eaf;p=buildroot.git 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: Anton Kolesov Signed-off-by: Thomas Petazzoni --- diff --git a/package/thrift/Config.in b/package/thrift/Config.in index ac998014bc..23b99e5834 100644 --- a/package/thrift/Config.in +++ b/package/thrift/Config.in @@ -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