Last change
on this file since 440 was 439, checked in by coas-nagasima, 4 years ago |
mrubyを2.1.1に更新
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-ruby;charset=UTF-8
|
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.