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(:emscripten) do |conf, _params|
|
---|
2 | toolchain :gcc, default_command: 'emcc'
|
---|
3 |
|
---|
4 | [conf.cc, conf.objc, conf.asm].each do |cc|
|
---|
5 | i = cc.flags[1][0].rindex("-Og")
|
---|
6 | cc.flags[1][0][i] = "-O3" if i
|
---|
7 | end
|
---|
8 |
|
---|
9 | conf.archiver.command = "emar"
|
---|
10 | conf.exts.executable = '.js'
|
---|
11 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.