Add `-fpermissive` to C++ compiler flags.

parent 65a2c208
No related merge requests found
...@@ -40,7 +40,7 @@ MRuby::Build.new('cxx_abi') do |conf| ...@@ -40,7 +40,7 @@ MRuby::Build.new('cxx_abi') do |conf|
toolchain :gcc toolchain :gcc
conf.gembox 'full-core' conf.gembox 'full-core'
conf.cc.flags += %w(-Werror=declaration-after-statement) conf.cc.flags += %w(-Werror=declaration-after-statement -fpermissive)
conf.compilers.each do |c| conf.compilers.each do |c|
c.defines += %w(MRB_GC_FIXED_ARENA) c.defines += %w(MRB_GC_FIXED_ARENA)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment