summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-14 03:33:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-14 03:33:01 +0000
commit9ab667b856a01aafd525ae17f74c84fe759ca541 (patch)
treeb7476ae274be5d906fa3be1cc5ad4a5c581e1747 /template
parent42624856a87f4449b4e0754386bd06740f3973a9 (diff)
exts.mk.tmpl: fix multiple rubies
* template/exts.mk.tmpl: get rid of making multiple rubies simultaneously. it can cause making libruby in parallel. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-rw-r--r--template/exts.mk.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/template/exts.mk.tmpl b/template/exts.mk.tmpl
index c64d8829e1..6f6b0a61ef 100644
--- a/template/exts.mk.tmpl
+++ b/template/exts.mk.tmpl
@@ -124,6 +124,9 @@ distclean:
<%= ruby %>:
$(Q)$(MAKE)<%=mflags%> $(SUBMAKEOPTS) $@
% end
+% if rubies.size > 1
+<%= rubies[1..-1].join(' ')%>: <%= rubies[0] %>
+% end
libencs:
$(Q)$(MAKE)<%=mflags%> -f enc.mk V=$(V) $@