Permalink
Browse files

Fix broken msvc build

  • Loading branch information...
sdottaka committed Jul 23, 2016
1 parent 2eefbfe commit fb1c4b3ba79a489327682a49622a193c237c1836
Showing with 7 additions and 3 deletions.
  1. +7 −3 build_config.rb
View
@@ -123,9 +123,13 @@
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

0 comments on commit fb1c4b3

Please sign in to comment.