Merge pull request #3182 from sdottaka/fix-broken-msvc-build

Fix broken msvc build
This commit is contained in:
Yukihiro "Matz" Matsumoto
2016-07-26 00:13:53 +09:00
committed by GitHub
+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