summaryrefslogtreecommitdiffstats
path: root/package/msgpack
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-02 16:31:31 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-06 11:16:00 +0100
commitb53a2ac54b8158fcea7c1e7377d24ea1b7769615 (patch)
treeced126b30ed9f45a17331fc624d421d4cb4ee421 /package/msgpack
parent8a98a7d94caf3480b07d188973c367c97430f6ce (diff)
downloadbuildroot-b53a2ac54b8158fcea7c1e7377d24ea1b7769615.tar.gz
buildroot-b53a2ac54b8158fcea7c1e7377d24ea1b7769615.zip
msgpack: rework BR2_ARCH_HAS_ATOMICS dependency
The msgpack source code indeed checks for the 4 bytes __sync built-in, so this commit switches the package from a BR2_ARCH_HAS_ATOMICS dependency to a BR2_TOOLCHAIN_HAS_SYNC_4 dependency. python-msgpack, a reverse dependency of msgpack, is changed in the same way. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'package/msgpack')
-rw-r--r--package/msgpack/Config.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/msgpack/Config.in b/package/msgpack/Config.in
index a57a3784ec..b8e82138fa 100644
--- a/package/msgpack/Config.in
+++ b/package/msgpack/Config.in
@@ -1,7 +1,7 @@
config BR2_PACKAGE_MSGPACK
bool "msgpack"
depends on BR2_INSTALL_LIBSTDCPP
- depends on BR2_ARCH_HAS_ATOMICS
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4
help
MessagePack is an efficient binary serialization format.
@@ -11,5 +11,5 @@ config BR2_PACKAGE_MSGPACK
http://msgpack.org/
comment "msgpack needs a toolchain w/ C++"
- depends on BR2_ARCH_HAS_ATOMICS
depends on !BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4
OpenPOWER on IntegriCloud