mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
2bd6c5dc16
To suppress warnings at the compilation time. https://github.com/ruby/date/commit/ff21132203
11 lines
264 B
Ruby
11 lines
264 B
Ruby
# frozen_string_literal: true
|
|
require 'mkmf'
|
|
|
|
config_string("strict_warnflags") {|w| $warnflags += " #{w}"}
|
|
|
|
with_werror("", {:werror => true}) do |opt, |
|
|
have_var("timezone", "time.h", opt)
|
|
have_var("altzone", "time.h", opt)
|
|
end
|
|
|
|
create_makefile('date_core')
|