diff options
| author | Terence Lee <[email protected]> | 2015-06-23 12:35:31 -0400 |
|---|---|---|
| committer | Terence Lee <[email protected]> | 2015-06-23 13:05:35 -0400 |
| commit | 0006a8cd4a15e52de7bb02fc89287183f2ef2209 (patch) | |
| tree | 09751ad24cd26f895d336dd8453f7b13945b83d6 /tasks | |
| parent | 1001be2e99720f6745159295aa73c649e08adec8 (diff) | |
| download | mruby-0006a8cd4a15e52de7bb02fc89287183f2ef2209.tar.gz mruby-0006a8cd4a15e52de7bb02fc89287183f2ef2209.zip | |
add host_target/build_target options for CrossBuild'ng native extensions
Diffstat (limited to 'tasks')
| -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) |
