Commit fb1c4b3b authored by Takashi Sawanaka's avatar Takashi Sawanaka

Fix broken msvc build

parent 2eefbfed
......@@ -123,9 +123,13 @@ MRuby::Build.new('test') do |conf|
end
MRuby::Build.new('bench') do |conf|
toolchain :gcc
conf.cc.flags << '-O3'
# Gets set by the VS command prompts.
if ENV['VisualStudioVersion'] || ENV['VSINSTALLDIR']
toolchain :visualcpp
else
toolchain :gcc
conf.cc.flags << '-O3'
end
conf.gembox 'default'
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment