diff options
author | Koichi Sasada <ko1@atdot.net> | 2019-12-10 17:39:04 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2019-12-11 11:24:42 +0900 |
commit | 40026a408df5e3576380f6c1d8bf6c119fa2e32b (patch) | |
tree | 5946811b38d5b70aaa0c5a4ab983fef19478ded9 /common.mk | |
parent | 9c2807b2df14984e3c81d72a381d9a4d288b3fbe (diff) |
support cross-compilation.
On cross-compilation, compiled binary can no be created because
compiled binary should be created by same interpreter (on cross-
compilation, host ruby is used to build ruby (BASERUBY)).
So that cross-compilation system loads required scripts in text.
It is same as miniruby.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2735
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1115,7 +1115,7 @@ preludes: {$(srcdir)}golf_prelude.c $(Q) $(BASERUBY) $(srcdir)/tool/mk_builtin_loader.rb $< builtin_binary.inc: $(PREP) $(BUILTIN_RB_SRCS) $(srcdir)/tool/mk_builtin_binary.rb - $(Q) $(MINIRUBY) $(srcdir)/tool/mk_builtin_binary.rb + $(Q) $(MINIRUBY) $(srcdir)/tool/mk_builtin_binary.rb --cross=$(CROSS_COMPILING) $(BUILTIN_RB_INCS): $(top_srcdir)/tool/mk_builtin_loader.rb |