diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-22 12:34:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-22 12:34:51 +0000 |
commit | 4f03a239dcd6704e4ae7a7029dc6b31d579e9f7c (patch) | |
tree | e4f8103552964e083b3f90497c3d7390abe97fea /lib | |
parent | 218b8324bb8aab829c2dcd2c473970827e5e1353 (diff) | |
download | ruby-4f03a239dcd6704e4ae7a7029dc6b31d579e9f7c.tar.gz |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mkmf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 946885f054..c52a66643a 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -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) |