mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
MINIRUBY for cross-compling
* template/configure-ext.mk.tmpl (EXTMK_ARGS): add MINIRUBY for cross-compling, which is used in extmk.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
83f76f46c7
commit
3a520acec3
2 changed files with 5 additions and 2 deletions
|
@ -216,12 +216,14 @@ exts: build-ext
|
|||
EXTS_MK = exts.mk
|
||||
$(EXTS_MK): ext/configure-ext.mk $(TIMESTAMPDIR)/.$(arch).time $(srcdir)/template/exts.mk.tmpl
|
||||
$(Q)$(MAKE) -f ext/configure-ext.mk $(mflags) V=$(V) EXTSTATIC=$(EXTSTATIC) \
|
||||
gnumake=$(gnumake) EXTLDFLAGS="$(EXTLDFLAGS)" srcdir="$(srcdir)"
|
||||
gnumake=$(gnumake) MINIRUBY="$(MINIRUBY)" \
|
||||
EXTLDFLAGS="$(EXTLDFLAGS)" srcdir="$(srcdir)"
|
||||
$(ECHO) generating makefile $@
|
||||
$(Q)$(MINIRUBY) $(srcdir)/tool/generic_erb.rb -o $@ -c \
|
||||
$(srcdir)/template/exts.mk.tmpl --gnumake=$(gnumake)
|
||||
|
||||
ext/configure-ext.mk: $(PREP) all-incs $(MKFILES) $(RBCONFIG) $(LIBRUBY)
|
||||
ext/configure-ext.mk: $(PREP) all-incs $(MKFILES) $(RBCONFIG) $(LIBRUBY) \
|
||||
$(srcdir)/template/configure-ext.mk.tmpl
|
||||
$(ECHO) generating makefiles $@
|
||||
$(Q)$(MAKEDIRS) $(@D)
|
||||
$(Q)$(MINIRUBY) $(srcdir)/tool/generic_erb.rb -o $@ -c \
|
||||
|
|
|
@ -24,6 +24,7 @@ end
|
|||
MINIRUBY = <%=miniruby%>
|
||||
SCRIPT_ARGS = <%=script_args%>
|
||||
EXTMK_ARGS = $(SCRIPT_ARGS) --gnumake=$(gnumake) --extflags="$(EXTLDFLAGS)" \
|
||||
--make-flags='MINIRUBY=$(MINIRUBY)'
|
||||
|
||||
all: exts gems
|
||||
exts:
|
||||
|
|
Loading…
Reference in a new issue