ruby-changes:35801
From: yugui <ko1@a...>
Date: Sat, 11 Oct 2014 22:33:35 +0900 (JST)
Subject: [ruby-changes:35801] yugui:r47883 (trunk): * ext/extmk.rb: generates the rule for extinit.$(OBJEXT).
yugui 2014-10-11 22:33:19 +0900 (Sat, 11 Oct 2014) New Revision: 47883 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47883 Log: * 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. Modified files: trunk/ChangeLog trunk/ext/extmk.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 47882) +++ ChangeLog (revision 47883) @@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat Oct 11 22:11:58 2014 Yuki Yugui Sonoda <yugui@y...> + + * 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@y...> * include/ruby/intern.h (rb_fd_select): declare struct timeval, or the Index: ext/extmk.rb =================================================================== --- ext/extmk.rb (revision 47882) +++ ext/extmk.rb (revision 47883) @@ -724,6 +724,7 @@ if $configure_only and $command_output https://github.com/ruby/ruby/blob/trunk/ext/extmk.rb#L724 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)" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/