diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-04-24 10:54:42 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-04-24 10:54:42 +0900 |
| commit | 2e49a25740b438174150cb0576486f39b41ae1d7 (patch) | |
| tree | e42203f4f6c369a1a9b1e94e8353c0a4f300ffd9 | |
| parent | 90a59efbec5b3f80ac94ca42de1939e25b290314 (diff) | |
| download | mruby-2e49a25740b438174150cb0576486f39b41ae1d7.tar.gz mruby-2e49a25740b438174150cb0576486f39b41ae1d7.zip | |
build_config/nofloat.rb: build configuration with `MRB_NO_FLOAT`; #5421
| -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 |
