ruby-changes:49889
From: nobu <ko1@a...>
Date: Mon, 22 Jan 2018 21:34:57 +0900 (JST)
Subject: [ruby-changes:49889] nobu:r62007 (trunk): mkmf.rb: ignore linker warnings
nobu 2018-01-22 21:34:51 +0900 (Mon, 22 Jan 2018) New Revision: 62007 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62007 Log: mkmf.rb: ignore linker warnings * lib/mkmf.rb (try_ldflags): ignore linker warnings. they cause unexpected failures on OpenBSD. [ruby-core:78827] [Bug #13069] Modified files: trunk/lib/mkmf.rb Index: lib/mkmf.rb =================================================================== --- lib/mkmf.rb (revision 62006) +++ lib/mkmf.rb (revision 62007) @@ -657,7 +657,7 @@ MSG https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L657 end def try_ldflags(flags, opts = {}) - try_link(MAIN_DOES_NOTHING, flags, {:werror => true}.update(opts)) + try_link(MAIN_DOES_NOTHING, flags, opts) end def append_ldflags(flags, *opts) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/