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

* ext/extmk.rb: generates the rule for extinit.$(OBJEXT).

extinit.$(OBJEXT) used to be generated by the builtin rule, thus
  didn't accept custom $(CC) and caused linkage error for cross
  compiling.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2014-10-11 13:33:19 +00:00
parent 57bc5eaf2f
commit 4883d12552
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,10 @@
Sat Oct 11 22:11:58 2014 Yuki Yugui Sonoda <yugui@yugui.jp>
* ext/extmk.rb: generates the rule for extinit.$(OBJEXT).
extinit.$(OBJEXT) used to be generated by the builtin rule, thus
didn't accept custom $(CC) and caused linkage error for cross
compiling.
Sat Oct 11 18:46:50 2014 Yuki Yugui Sonoda <yugui@yugui.jp>
* include/ruby/intern.h (rb_fd_select): declare struct timeval, or the

View file

@ -724,6 +724,7 @@ if $configure_only and $command_output
rubies.each do |tgt|
mf.puts "#{tgt}:\n\t#{submake} $@"
end
mf.puts "ext/extinit.#{$OBJEXT}:\n\t$(Q)$(MAKE) $(MFLAGS) V=$(V) $@" if $static
mf.puts
if $gnumake == "yes"
submake = "$(MAKE) -C $(@D)"