vendor/mruby-source/build_config/cross-32bit.rb
raw| 1 | # Define cross build settings |
| 2 | MRuby::CrossBuild.new('cross-32bit') do |conf| |
| 3 | conf.toolchain :gcc |
| 4 | |
| 5 | conf.cc.flags << "-m32" |
| 6 | conf.linker.flags << "-m32" |
| 7 | |
| 8 | # conf.build_mrbtest_lib_only |
| 9 | |
| 10 | conf.gem :core => "mruby-bin-mruby" |
| 11 | conf.gem "#{MRUBY_ROOT}/examples/mrbgems/c_and_ruby_extension_example" |
| 12 | |
| 13 | conf.test_runner.command = 'env' |
| 14 | end |