mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
1520c97e17
You don't have to define explicit `host` build target any more.
15 lines
336 B
Ruby
15 lines
336 B
Ruby
# Define cross build settings
|
|
MRuby::CrossBuild.new('cross-32bit') do |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
|