summaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authortake_cheeze <[email protected]>2013-11-26 11:33:25 +0900
committertake_cheeze <[email protected]>2013-11-26 11:33:25 +0900
commit9b4b2e7c529a13273389bf96e030adaed7ae6909 (patch)
tree2d77f85778ff3590613368943ab51d99426b85c5 /tasks
parenta6bb888034720e26ae413d1e4645c6fe1086f10b (diff)
downloadmruby-9b4b2e7c529a13273389bf96e030adaed7ae6909.tar.gz
mruby-9b4b2e7c529a13273389bf96e030adaed7ae6909.zip
use mrbc of current build in non cross build
Diffstat (limited to 'tasks')
-rw-r--r--tasks/mruby_build.rake6
1 files changed, 5 insertions, 1 deletions
diff --git a/tasks/mruby_build.rake b/tasks/mruby_build.rake
index acaabfa81..8f5881f3b 100644
--- a/tasks/mruby_build.rake
+++ b/tasks/mruby_build.rake
@@ -103,7 +103,7 @@ module MRuby
end
def mrbcfile
- MRuby.targets['host'].exefile("#{MRuby.targets['host'].build_dir}/bin/mrbc")
+ MRuby.targets[@name].exefile("#{MRuby.targets[@name].build_dir}/bin/mrbc")
end
def compilers
@@ -204,6 +204,10 @@ module MRuby
super
end
+ def mrbcfile
+ MRuby.targets['host'].exefile("#{MRuby.targets['host'].build_dir}/bin/mrbc")
+ end
+
def run_test
mrbtest = exefile("#{build_dir}/test/mrbtest")
if (@test_runner.command == nil)