source:
EcnlProtoTool/trunk/mruby-2.1.1/tasks/toolchains/clang.rake
Last change on this file was 439, checked in by , 4 years ago | |
---|---|
|
|
File size: 289 bytes |
Line | |
---|---|
1 | MRuby::Toolchain.new(:clang) do |conf, _params| |
2 | toolchain :gcc, default_command: 'clang' |
3 | |
4 | [conf.cc, conf.objc, conf.asm].each do |cc| |
5 | cc.flags << '-Wzero-length-array' unless ENV['CFLAGS'] |
6 | end |
7 | conf.cxx.flags << '-Wzero-length-array' unless ENV['CXXFLAGS'] || ENV['CFLAGS'] |
8 | end |
Note:
See TracBrowser
for help on using the repository browser.