mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
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>
This commit is contained 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
|
||||
|
||||
Reference in New Issue
Block a user