@@ -1,7 +1,7 @@
config BR2_PACKAGE_MSGPACK
bool "msgpack"
depends on BR2_INSTALL_LIBSTDCPP
- depends on !BR2_arc # atomic builtins
+ depends on BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS
help
MessagePack is an efficient binary serialization format.
@@ -10,6 +10,5 @@ config BR2_PACKAGE_MSGPACK
http://msgpack.org/
-comment "msgpack needs a toolchain w/ C++"
- depends on !BR2_INSTALL_LIBSTDCPP
- depends on !BR2_arc
+comment "msgpack needs a toolchain w/ C++, atomic intrinsics"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS
@@ -3,7 +3,7 @@ config BR2_PACKAGE_PYTHON_MSGPACK
depends on BR2_PACKAGE_PYTHON
select BR2_PACKAGE_MSGPACK
depends on BR2_INSTALL_LIBSTDCPP # msgpack
- depends on !BR2_arc # msgpack - atomic builtins
+ depends on BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS # msgpack
help
MessagePack (http://msgpack.org/) is a fast, compact binary
serialization format, suitable for similar data to JSON.
@@ -12,7 +12,6 @@ config BR2_PACKAGE_PYTHON_MSGPACK
https://pypi.python.org/pypi/msgpack-python/
-comment "python-msgpack needs a toolchain w/ C++"
+comment "python-msgpack needs a toolchain w/ C++, atomic intrinsics"
depends on BR2_PACKAGE_PYTHON
- depends on !BR2_INSTALL_LIBSTDCPP
- depends on !BR2_arc
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS
Msgpack requires GCC built-in atomic functions which are architecture specific and may not be implemented. This fixes: http://autobuild.buildroot.net/results/44849a386cefb8899f4560296bfbbd8ea19ee910/ Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com> --- package/msgpack/Config.in | 7 +++---- package/python-msgpack/Config.in | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-)