4c478bb055
libeastl needs threads since its addition in commited9ddaafb2
and800bc26659
: In file included from /home/autobuild/autobuild/instance-7/output-1/build/libeastl-45469730d641868ce05433fff2e199510c7d45c3/source/thread_support.cpp:7: /home/autobuild/autobuild/instance-7/output-1/build/libeastl-45469730d641868ce05433fff2e199510c7d45c3/include/EASTL/internal/thread_support.h:37:18: fatal error: pthread.h: No such file or directory 37 | #include <pthread.h> | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/54ff018467d157530bde4d35602fd1820d9eb348 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
29 lines
962 B
Plaintext
29 lines
962 B
Plaintext
config BR2_PACKAGE_LIBEASTL_ARCH_SUPPORTS
|
|
bool
|
|
default y if BR2_i386
|
|
default y if BR2_x86_64
|
|
default y if BR2_aarch64
|
|
default y if BR2_powerpc
|
|
default y if BR2_powerpc64
|
|
|
|
config BR2_PACKAGE_LIBEASTL
|
|
bool "libeastl"
|
|
depends on BR2_PACKAGE_LIBEASTL_ARCH_SUPPORTS
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
help
|
|
EASTL stands for Electronic Arts Standard Template
|
|
Library. It is a C++ template library of containers,
|
|
algorithms, and iterators useful for runtime and tool
|
|
development across multiple platforms. It is an extensive
|
|
and robust implementation that has an emphasis on high
|
|
performance.
|
|
|
|
https://github.com/electronicarts/EASTL
|
|
|
|
comment "libeastl needs a toolchain w/ C++, threads, gcc >= 4.9"
|
|
depends on BR2_PACKAGE_LIBEASTL_ARCH_SUPPORTS
|
|
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
|