mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add -fpermissive to C++ compiler flags.
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ MRuby::Build.new('cxx_abi') do |conf|
|
||||
toolchain :gcc
|
||||
|
||||
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|
|
||||
c.defines += %w(MRB_GC_FIXED_ARENA)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user