summaryrefslogtreecommitdiffhomepage
path: root/build_config/host-f32.rb
diff options
context:
space:
mode:
Diffstat (limited to 'build_config/host-f32.rb')
-rw-r--r--build_config/host-f32.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/build_config/host-f32.rb b/build_config/host-f32.rb
new file mode 100644
index 000000000..a449547ae
--- /dev/null
+++ b/build_config/host-f32.rb
@@ -0,0 +1,14 @@
+MRuby::Build.new do |conf|
+ # load specific toolchain settings
+ toolchain :gcc
+
+ # include the GEM box
+ conf.gembox 'default'
+
+ conf.cc.defines << 'MRB_USE_FLOAT32'
+
+ # Turn on `enable_debug` for better debugging
+ conf.enable_debug
+ conf.enable_test
+ conf.enable_bintest
+end