5471d7ce25
mono unconditionally uses pthread_attr_get_np and so needs NTPL since
version 4.0.1.43 and
748fefa1d7
:
mono-threads-linux.c: In function 'mono_threads_platform_get_stack_bounds':
mono-threads-linux.c:26:15: error: implicit declaration of function 'pthread_getattr_np'; did you mean 'pthread_attr_init'? [-Werror=implicit-function-declaration]
26 | res = pthread_getattr_np (pthread_self (), &attr);
| ^~~~~~~~~~~~~~~~~~
| pthread_attr_init
Fixes:
- http://autobuild.buildroot.org/results/6534ee4ae699c17ee98f6f89a8a1212936e04481
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
30 lines
973 B
Plaintext
30 lines
973 B
Plaintext
config BR2_PACKAGE_HOST_MONO_ARCH_SUPPORTS
|
|
bool
|
|
default y if BR2_HOSTARCH = "x86_64"
|
|
default y if BR2_HOSTARCH = "x86"
|
|
|
|
config BR2_PACKAGE_MONO_ARCH_SUPPORTS
|
|
bool
|
|
default y if (BR2_arm || BR2_armeb || BR2_i386 || \
|
|
BR2_powerpc || BR2_x86_64)
|
|
depends on BR2_PACKAGE_HOST_MONO_ARCH_SUPPORTS
|
|
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
|
|
|
|
config BR2_PACKAGE_MONO
|
|
bool "mono"
|
|
depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_getattr_np()
|
|
depends on !BR2_STATIC_LIBS
|
|
select BR2_PACKAGE_LIBATOMIC_OPS
|
|
help
|
|
An open source, cross-platform, implementation of C#
|
|
and the CLR that is binary compatible with Microsoft.NET.
|
|
|
|
http://download.mono-project.com/sources/mono/
|
|
|
|
comment "mono needs a toolchain w/ C++, NPTL, dynamic library"
|
|
depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS
|
|
depends on !BR2_INSTALL_LIBSTDCPP || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|