mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
f751c28ca4
Tested only on Linux. You need to install 32bit relate libraries, e.g. libc6-dev-i386.
15 lines
276 B
Ruby
15 lines
276 B
Ruby
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
|