summaryrefslogtreecommitdiffhomepage
path: root/target/host-m32.rb
diff options
context:
space:
mode:
Diffstat (limited to 'target/host-m32.rb')
-rw-r--r--target/host-m32.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/host-m32.rb b/target/host-m32.rb
new file mode 100644
index 000000000..39b2c952f
--- /dev/null
+++ b/target/host-m32.rb
@@ -0,0 +1,15 @@
+MRuby::Build.new do |conf|
+ # load specific toolchain settings
+ toolchain :gcc
+
+ # include the GEM box
+ conf.gembox 'full-core'
+
+ conf.cc.flags << '-m32'
+ conf.linker.flags << '-m32'
+
+ # Turn on `enable_debug` for better debugging
+ enable_debug
+ conf.enable_test
+ conf.enable_bintest
+end