3c83c1fd4a
ruby needs gcc and host gcc >= 4.9 since commit
5f1c6758a5
and the addition of AC_PROG_CC:
In file included from vm_core.h:85:0,
from iseq.h:14,
from mini_builtin.c:3,
from miniinit.c:51:
thread_pthread.h:108:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct'
RUBY_EXTERN RB_THREAD_LOCAL_SPECIFIER struct rb_execution_context_struct *ruby_current_ec;
^
Fixes:
- http://autobuild.buildroot.org/results/f196f8bc68d1b4c20bddced89478598a3fcd3dea
- http://autobuild.buildroot.org/results/81bdac585600877d3fa8d9478b7f160dbd1537a9
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
17 lines
533 B
Plaintext
17 lines
533 B
Plaintext
config BR2_PACKAGE_RUBY
|
|
bool "ruby"
|
|
depends on BR2_USE_WCHAR
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on !BR2_STATIC_LIBS
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
|
depends on BR2_HOST_GCC_AT_LEAST_4_9
|
|
help
|
|
Object Oriented Scripting Language.
|
|
|
|
http://www.ruby-lang.org/
|
|
|
|
comment "ruby needs a toolchain w/ wchar, threads, dynamic library, gcc >= 4.9, host gcc >= 4.9"
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
|
|
!BR2_HOST_GCC_AT_LEAST_4_9
|