Commit e203383d authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #1739 from take-cheeze/clang_cxx

Specialize C++ compiler in clang toolchain.
parents 8814aedc 043e7fc6
MRuby::Toolchain.new(:clang) do |conf|
toolchain :gcc
[conf.cc, conf.cxx, conf.objc, conf.asm].each do |cc|
[conf.cc, conf.objc, conf.asm].each do |cc|
cc.command = ENV['CC'] || 'clang'
end
conf.cxx.command = ENV['CXX'] || 'clang++'
conf.linker.command = ENV['LD'] || 'clang'
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