ruby-changes:52904
From: usa <ko1@a...>
Date: Wed, 17 Oct 2018 18:22:32 +0900 (JST)
Subject: [ruby-changes:52904] usa:r65117 (ruby_2_4): merge revision(s) 62007, 62024: [Backport #13069]
usa 2018-10-17 18:22:24 +0900 (Wed, 17 Oct 2018) New Revision: 65117 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65117 Log: merge revision(s) 62007,62024: [Backport #13069] mkmf.rb: ignore linker warnings * lib/mkmf.rb (try_ldflags): ignore linker warnings. they cause unexpected failures on OpenBSD. [ruby-core:78827] [Bug #13069] mkmf.rb: werror on mswin * lib/mkmf.rb (MakeMakefile#try_ldflags): enable warning checking on mswin, link.exe warns -l options but does not fail. [Bug #13069] Modified directories: branches/ruby_2_4/ Modified files: branches/ruby_2_4/lib/mkmf.rb branches/ruby_2_4/version.h Index: ruby_2_4/version.h =================================================================== --- ruby_2_4/version.h (revision 65116) +++ ruby_2_4/version.h (revision 65117) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_4/version.h#L1 #define RUBY_VERSION "2.4.5" #define RUBY_RELEASE_DATE "2018-10-17" -#define RUBY_PATCHLEVEL 331 +#define RUBY_PATCHLEVEL 332 #define RUBY_RELEASE_YEAR 2018 #define RUBY_RELEASE_MONTH 10 Index: ruby_2_4/lib/mkmf.rb =================================================================== --- ruby_2_4/lib/mkmf.rb (revision 65116) +++ ruby_2_4/lib/mkmf.rb (revision 65117) @@ -655,7 +655,8 @@ MSG https://github.com/ruby/ruby/blob/trunk/ruby_2_4/lib/mkmf.rb#L655 end def try_ldflags(flags, opts = {}) - try_link(MAIN_DOES_NOTHING, flags, {:werror => true}.update(opts)) + opts = {:werror => true}.update(opts) if $mswin + try_link(MAIN_DOES_NOTHING, flags, opts) end def append_ldflags(flags, *opts) Index: ruby_2_4 =================================================================== --- ruby_2_4 (revision 65116) +++ ruby_2_4 (revision 65117) Property changes on: ruby_2_4 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /trunk:r62007,62024 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/