mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
f80d5ece27
Fix the following issues. * https://github.com/mruby/mruby/pull/5220#issuecomment-757204258 * https://github.com/mruby/mruby/pull/5220#issuecomment-757205572
15 lines
341 B
Ruby
15 lines
341 B
Ruby
# Define cross build settings
|
|
MRuby::CrossBuild.new('cross-32bit') do |conf|
|
|
conf.toolchain :gcc
|
|
|
|
conf.cc.flags << "-m32"
|
|
conf.linker.flags << "-m32"
|
|
|
|
# conf.build_mrbtest_lib_only
|
|
|
|
conf.gem :core => "mruby-bin-mruby"
|
|
conf.gem "#{MRUBY_ROOT}/examples/mrbgems/c_and_ruby_extension_example"
|
|
|
|
conf.test_runner.command = 'env'
|
|
end
|