mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-18 14:51:49 -09:00
Buildroot commit8dad17ea06bumped the package from 0.27.0 to 0.37.2. This bump includes upstream commit464867a9cewhich added WebSocket support to version 0.33.0 and causes a build error detected by the Gitlab pipelines for bootlin-sparc-uclibc: /builds/bkuhls/buildroot/br-test-pkg/bootlin-sparc-uclibc/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/14.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /tmp/cciyXsAR.ltrans6.ltrans.o: in function `httplib::ws::WebSocket::close(httplib::ws::CloseStatus, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': <artificial>:(.text+0x6408): undefined reference to `__atomic_exchange_1' To fix the problem we add -latomic to LDFLAGS when needed. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commiteedb2067d8) Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
24 lines
673 B
Plaintext
24 lines
673 B
Plaintext
comment "cpp-httplib needs a toolchain w/ C++, wchar, threads"
|
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
config BR2_PACKAGE_CPP_HTTPLIB
|
|
bool "cpp-httplib"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_USE_WCHAR
|
|
help
|
|
A C++ header-only HTTP/HTTPS server and client library.
|
|
|
|
https://github.com/yhirose/cpp-httplib
|
|
|
|
if BR2_PACKAGE_CPP_HTTPLIB
|
|
config BR2_PACKAGE_CPP_HTTPLIB_COMPILE
|
|
bool "compile as a shared library"
|
|
select BR2_PACKAGE_HOST_PYTHON3
|
|
help
|
|
Build as library
|
|
|
|
endif # BR2_PACKAGE_CPP_HTTPLIB
|