summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2018-11-19 17:11:59 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2018-11-19 17:11:59 +0900
commitafd46eccd14e20a3898c81a3168ec764f1010bdf (patch)
treeae312241f848cf97fe2f2fa6fb41106310916ce6
parent65a2c2082d97ea5fe2b7551bf73fbcefb5ca498e (diff)
downloadmruby-afd46eccd14e20a3898c81a3168ec764f1010bdf.tar.gz
mruby-afd46eccd14e20a3898c81a3168ec764f1010bdf.zip
Add `-fpermissive` to C++ compiler flags.
-rw-r--r--travis_config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/travis_config.rb b/travis_config.rb
index 5904d6880..e12bae648 100644
--- a/travis_config.rb
+++ b/travis_config.rb
@@ -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