Skip to content

Commit 4f03a23

Browse files
committed
mkmf.rb: ignore linker warnings
* lib/mkmf.rb (try_ldflags): ignore linker warnings. they cause unexpected failures on OpenBSD. [ruby-core:78827] [Bug ruby#13069] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 218b832 commit 4f03a23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mkmf.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ def with_ldflags(flags)
657657
end
658658

659659
def try_ldflags(flags, opts = {})
660-
try_link(MAIN_DOES_NOTHING, flags, {:werror => true}.update(opts))
660+
try_link(MAIN_DOES_NOTHING, flags, opts)
661661
end
662662

663663
def append_ldflags(flags, *opts)

0 commit comments

Comments
 (0)