diff options
| author | Jeremy Evans <code@jeremyevans.net> | 2019-12-28 00:25:11 -0800 |
|---|---|---|
| committer | Jeremy Evans <code@jeremyevans.net> | 2019-12-28 14:13:05 -0800 |
| commit | a04c53596735f563a09d628530a2adae7ba26c7a (patch) | |
| tree | 635c1db4c7ae9f4828cdd944d442fe45c2d76e9c /spec/ruby | |
| parent | bb5b8ace8d7e517ac3686497a819a2a52d32b342 (diff) | |
Use __func__ as rb_cv_function_name_string on OpenBSD
The use of RUBY_WERROR_FLAG causes this test to fail on OpenBSD
platforms that use the binutils linker (ld.bfd) instead of the
llvm linker (ld.lld), due to warnings added to the binutils linker
in OpenBSD.
Removing the RUBY_WERROR_FLAG would probably also fix it, but that
would affect other platforms.
This should also be backported to Ruby 2.7.
Analysis and similar fix recommended by George Koehler.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2790
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions
