mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
aceb11dff4
* lib/mkmf.rb (try_compile): pass the given werror flag to try_do to check if stderr is empty. * lib/mkmf.rb (try_cflags, try_ldflags): default werror to true. * win32/Makefile.sub (WERRORFLAG): remove useless option. VC does not make warnings of unknown command option an error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
5 lines
123 B
Ruby
5 lines
123 B
Ruby
require 'mkmf'
|
|
if try_cflags("-std=iso9899:1999")
|
|
$CFLAGS += " " << "-std=iso9899:1999"
|
|
end
|
|
create_makefile('date_core')
|