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

mkmf.rb: ignore linker warnings

* lib/mkmf.rb (try_ldflags): ignore linker warnings.  they cause
  unexpected failures on OpenBSD.  [ruby-core:78827] [Bug #13069]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-01-22 12:34:51 +00:00
parent 218b8324bb
commit 4f03a239dc

View file

@ -657,7 +657,7 @@ MSG
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)