From 73b4152574f0dd6747488662751f59f8c4c0b50d Mon Sep 17 00:00:00 2001 From: KOBAYASHI Shuji Date: Sat, 5 Dec 2020 09:16:08 +0900 Subject: Make it possible that `libmruby.a` is not created Previously, `libmruby.a` was created even if only `mruby-bin-mrbc` or` mruby-compiler` was specified for gem, but by specifying `disable_libmruby`, the creation of `libmruby.a` can be suppressed. ### Note The https://github.com/mruby/mruby/pull/5084#issuecomment-723521971 incompatibility seems to be difficult for users to avoid, so the original behavior has been restored. Therefore, if we need `mrbc` other than the `host` build, we need to explicitly specify `mruby-bin-mrbc` gem. Due to the above changes, `build_config/boxing.rb` etc. will not work, but I have added` mruby-bin-mrbc` to `default.gembox` to fix it. I don't think this change is a big deal because originally `mruby-compiler` was included. --- build_config/no-float.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'build_config') diff --git a/build_config/no-float.rb b/build_config/no-float.rb index 57cca1688..1138188e3 100644 --- a/build_config/no-float.rb +++ b/build_config/no-float.rb @@ -1,9 +1,3 @@ -MRuby::Build.new("host") do |conf| - # load specific toolchain settings - toolchain :gcc - conf.gem :core => "mruby-bin-mrbc" -end - # Define cross build settings MRuby::CrossBuild.new('no-float') do |conf| toolchain :gcc -- cgit v1.2.3