Add -fpermissive to C++ compiler flags.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2018-11-19 17:11:59 +09:00
parent 65a2c2082d
commit afd46eccd1
+1 -1
View File
@@ -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