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

[ruby/date] Ignore warned variables

To suppress warnings at the compilation time.

https://github.com/ruby/date/commit/ff21132203
This commit is contained in:
Nobuyoshi Nakada 2021-09-09 13:25:44 +09:00
parent 5d81554281
commit 2bd6c5dc16

View file

@ -3,7 +3,9 @@ require 'mkmf'
config_string("strict_warnflags") {|w| $warnflags += " #{w}"}
have_var("timezone", "time.h")
have_var("altzone", "time.h")
with_werror("", {:werror => true}) do |opt, |
have_var("timezone", "time.h", opt)
have_var("altzone", "time.h", opt)
end
create_makefile('date_core')