diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-06-24 09:31:22 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-06-24 09:31:22 +0900 |
| commit | fb5af4de2ca14276740e7cf51cc1637f9b221a64 (patch) | |
| tree | e9c9db67e7706ff9b841a0aa63eed071f81e7746 | |
| parent | acb504fa0d9fb98409f297d2bab7f503e46ccef5 (diff) | |
| parent | 0006a8cd4a15e52de7bb02fc89287183f2ef2209 (diff) | |
| download | mruby-fb5af4de2ca14276740e7cf51cc1637f9b221a64.tar.gz mruby-fb5af4de2ca14276740e7cf51cc1637f9b221a64.zip | |
Merge pull request #2857 from hone/cross_compile_targets
provide targets for building native extensions during CrossBuild
| -rw-r--r-- | tasks/mruby_build.rake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tasks/mruby_build.rake b/tasks/mruby_build.rake index 50bed0fbe..947b4ba77 100644 --- a/tasks/mruby_build.rake +++ b/tasks/mruby_build.rake @@ -283,6 +283,10 @@ EOS class CrossBuild < Build attr_block %w(test_runner) + # cross compiling targets for building native extensions. + # host - arch of where the built binary will run + # build - arch of the machine building the binary + attr_accessor :host_target, :build_target def initialize(name, build_dir=nil, &block) @test_runner = Command::CrossTestRunner.new(self) |
