1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

common.mk: remove explicit MFLAGS

It is unnecessary to pass MFLAGS to sub-makes, because it is
evaluated implicitly if set by make.  GNU make 4.2 sets both of
-jN and --jobserver-auth (or --jobserver-fds in older versions)
options which conflict.  And it is useless for command line macros
since Microsoft NMAKE does not set them.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-02-01 04:54:04 +00:00
parent e704fc8280
commit c2310e8598
3 changed files with 18 additions and 18 deletions

View file

@ -111,17 +111,17 @@ distclean:
% rubies.each do |ruby|
<%= ruby %>:
$(Q)$(MAKE) $(MFLAGS) $(SUBMAKEOPTS) $@
$(Q)$(MAKE) $(SUBMAKEOPTS) $@
% end
libencs:
$(Q)$(MAKE) -f enc.mk V=$(V) $@
ext/extinit.<%=objext%>:
$(Q)$(MAKE) $(MFLAGS) V=$(V) EXTINITS="$(EXTINITS)" $@
$(Q)$(MAKE) V=$(V) EXTINITS="$(EXTINITS)" $@
% targets.product(macros["extensions"].map {|e|e.chomp("/.")}) do |t, e|
<%=e%>/<%=t%>:
$(Q)<%= submake %> $(MFLAGS) V=$(V) $(@F)
$(Q)<%= submake %> V=$(V) $(@F)
% end
extso: