5724145b1e
libuv unconditionally uses stdatomic since2f33980a91
resulting in the following build failure with gcc < 4.9 since bump to version 1.45.0 in commit21764235cb
: In file included from src/fs-poll.c:23:0: src/uv-common.h:41:24: fatal error: stdatomic.h: No such file or directory # include <stdatomic.h> ^ Fixes: - http://autobuild.buildroot.org/results/6b9ce25ba7e5c5602313d533f460f8829f767f81 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
config BR2_PACKAGE_WAMPCC
|
|
bool "wampcc"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
|
|
depends on BR2_USE_MMU # libuv
|
|
depends on !BR2_STATIC_LIBS # libuv
|
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libuv
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future
|
|
select BR2_PACKAGE_LIBUV
|
|
select BR2_PACKAGE_JANSSON
|
|
select BR2_PACKAGE_OPENSSL
|
|
help
|
|
wampcc is a C++ library that implements the Web Application
|
|
Messaging Protocol.
|
|
|
|
https://github.com/darrenjs/wampcc
|
|
|
|
comment "wampcc needs a toolchain w/ C++, NPTL, dynamic library, gcc >= 4.9"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
depends on !BR2_INSTALL_LIBSTDCPP || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
|
|
|
comment "wampcc needs a toolchain not affected by GCC bug 64735"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|