Skip to content

Commit

Permalink
[ruby/date] Ignore warned variables
Browse files Browse the repository at this point in the history
To suppress warnings at the compilation time.

ruby/date@ff21132203
  • Loading branch information
nobu committed Sep 9, 2021
1 parent 5d81554 commit 2bd6c5d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ext/date/extconf.rb
Expand Up @@ -3,7 +3,9 @@

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')

0 comments on commit 2bd6c5d

Please sign in to comment.