diff options
| -rw-r--r-- | build_config/nofloat.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/build_config/nofloat.rb b/build_config/nofloat.rb new file mode 100644 index 000000000..7043e4e2c --- /dev/null +++ b/build_config/nofloat.rb @@ -0,0 +1,20 @@ +MRuby::Build.new do |conf| + # load specific toolchain settings + toolchain :gcc + + # include the GEM box + conf.gembox "stdlib" + conf.gembox "stdlib-ext" + conf.gembox "stdlib-io" + conf.gembox "metaprog" + + conf.gem :core => 'mruby-bin-mruby' + conf.gem :core => 'mruby-bin-mirb' + + conf.cc.defines << 'MRB_NO_FLOAT' + + # Turn on `enable_debug` for better debugging + conf.enable_debug + conf.enable_test + conf.enable_bintest +end |
