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:
parent
5d81554281
commit
2bd6c5dc16
1 changed files with 4 additions and 2 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue