Backport upstream pull request for ruby3.2 build issue

Add -Werror=implicit-function explicitly to detect such function
This commit is contained in:
Mamoru TASAKA 2022-12-01 13:31:20 +09:00
commit ee2720c212
4 changed files with 116 additions and 3 deletions

View file

@ -8,4 +8,4 @@
+$CFLAGS = "#{$CFLAGS} " + case RUBY_VERSION
when /^1\.9/; '-DRUBY19'
when /^2\./; '-DRUBY19'
when /^3\./; '-DRUBY19'
when /^3\./; '-DRUBY19 -DRUBY30'