lib/webruby/rake/mruby.rake in webruby-0.2.1 vs lib/webruby/rake/mruby.rake in webruby-0.2.2
- old
+ new
@@ -13,10 +13,10 @@
MRuby::Toolchain.new(:emscripten) do |conf|
toolchain :clang
conf.cc do |cc|
cc.command = '#{EMCC}'
- cc.flags = '#{Webruby::App.config.cflags}'
+ cc.flags.push(*#{Webruby::App.config.cflags.inspect})
end
conf.linker.command = '#{EMLD}'
conf.archiver.command = '#{EMAR}'
end