summaryrefslogtreecommitdiff
path: root/ext/date/extconf.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-21 00:35:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-21 00:35:50 +0000
commitde2d45100d085844f4ba50c9e54cec84d0122733 (patch)
treedd85b226cdc61ba0abe254af0ab1f02124562ce4 /ext/date/extconf.rb
parent2bb1e93d92b9524dae4f6aedb2a7b4f8c0e513f7 (diff)
extconf.rb: strict_warnflags
* ext/date/extconf.rb: add strict warning flags same as ruby itself for C99 option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/date/extconf.rb')
-rw-r--r--ext/date/extconf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/date/extconf.rb b/ext/date/extconf.rb
index 9f7d3e8..a8c6fca 100644
--- a/ext/date/extconf.rb
+++ b/ext/date/extconf.rb
@@ -1,2 +1,3 @@
require 'mkmf'
+config_string("strict_warnflags") {|w| $warnflags += " #{w}"}
create_makefile('date_core')