Fix broken msvc build

This commit is contained in:
Takashi Sawanaka
2016-07-23 11:57:36 +09:00
parent 2eefbfed9d
commit fb1c4b3ba7
+7 -3
View File
@@ -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