Merge pull request #4901 from take-cheeze/gnu_cxx

Use GNU extension in C++ for cygwin
This commit is contained in:
Yukihiro "Matz" Matsumoto
2019-12-23 21:32:26 +09:00
committed by GitHub
+1 -1
View File
@@ -15,7 +15,7 @@ MRuby::Toolchain.new(:gcc) do |conf, params|
compiler.option_include_path = '-I%s'
compiler.option_define = '-D%s'
compiler.compile_options = '%{flags} -MMD -o %{outfile} -c %{infile}'
compiler.cxx_compile_flag = '-x c++ -std=c++03'
compiler.cxx_compile_flag = '-x c++ -std=gnu++03'
compiler.cxx_exception_flag = '-fexceptions'
compiler.cxx_invalid_flags = c_mandatory_flags + cxx_invalid_flags
end