Last change
on this file 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
|
Rev | Line | |
---|
[331] | 1 | MRuby::Toolchain.new(:clang) do |conf, _params|
|
---|
[439] | 2 | toolchain :gcc, default_command: 'clang'
|
---|
[270] | 3 |
|
---|
| 4 | [conf.cc, conf.objc, conf.asm].each do |cc|
|
---|
[439] | 5 | cc.flags << '-Wzero-length-array' unless ENV['CFLAGS']
|
---|
[270] | 6 | end
|
---|
[439] | 7 | conf.cxx.flags << '-Wzero-length-array' unless ENV['CXXFLAGS'] || ENV['CFLAGS']
|
---|
[270] | 8 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.