summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--target/host-m32.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/host-m32.rb b/target/host-m32.rb
new file mode 100644
index 000000000..d1cddc907
--- /dev/null
+++ b/target/host-m32.rb
@@ -0,0 +1,14 @@
+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
+end