build_config/nofloat.rb: build configuration with MRB_NO_FLOAT; #5421

This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-04-24 10:54:42 +09:00
parent 90a59efbec
commit 2e49a25740
+20
View File
@@ -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