mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
13 lines
371 B
Ruby
13 lines
371 B
Ruby
# frozen_string_literal: true
|
|
require 'mkmf'
|
|
|
|
config_string("strict_warnflags") {|w| $warnflags += " #{w}"}
|
|
|
|
append_cflags("-Wno-compound-token-split-by-macro") if RUBY_VERSION < "2.7."
|
|
have_func("rb_category_warn")
|
|
with_werror("", {:werror => true}) do |opt, |
|
|
have_var("timezone", "time.h", opt)
|
|
have_var("altzone", "time.h", opt)
|
|
end
|
|
|
|
create_makefile('date_core')
|