@@ -3,7 +3,7 @@ config BR2_PACKAGE_QT5WEBKIT
depends on !BR2_STATIC_LIBS
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
depends on BR2_INSTALL_LIBSTDCPP # leveldb
- depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu
+ depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # icu
depends on BR2_TOOLCHAIN_HAS_THREADS # leveldb
depends on !BR2_BINFMT_FLAT # icu
@@ -3,11 +3,14 @@ config BR2_PACKAGE_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"
+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_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
+ !BR2_HOST_GCC_AT_LEAST_4_9
@@ -25,7 +25,7 @@ config BR2_PACKAGE_WEBKITGTK
bool "webkitgtk"
depends on !BR2_STATIC_LIBS # wayland
depends on !BR2_BINFMT_FLAT # icu
- depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu
+ depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7
@@ -30,7 +30,7 @@ config BR2_PACKAGE_WPEWEBKIT
bool "wpewebkit"
depends on !BR2_STATIC_LIBS # wayland
depends on !BR2_BINFMT_FLAT # icu
- depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu
+ depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby
depends on BR2_INSTALL_LIBSTDCPP # harfbuzz, icu
depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7
ruby needs gcc and host gcc >= 4.9 since commit 5f1c6758a561134e30fe9fb7fae55e5d6e97d01a 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> --- package/qt5/qt5webkit/Config.in | 2 +- package/ruby/Config.in | 7 +++++-- package/webkitgtk/Config.in | 2 +- package/wpewebkit/Config.in | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-)