Commit 32ad74f4 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

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

Fix broken msvc build
parents e635dc2a fb1c4b3b
...@@ -123,9 +123,13 @@ MRuby::Build.new('test') do |conf| ...@@ -123,9 +123,13 @@ MRuby::Build.new('test') do |conf|
end end
MRuby::Build.new('bench') do |conf| MRuby::Build.new('bench') do |conf|
toolchain :gcc # Gets set by the VS command prompts.
if ENV['VisualStudioVersion'] || ENV['VSINSTALLDIR']
conf.cc.flags << '-O3' toolchain :visualcpp
else
toolchain :gcc
conf.cc.flags << '-O3'
end
conf.gembox 'default' conf.gembox 'default'
end 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