summaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authortake-cheeze <[email protected]>2019-12-23 20:58:43 +0900
committertake-cheeze <[email protected]>2019-12-23 20:58:43 +0900
commit38fdca82c6e1de671de1c508bec588c2035a6fd8 (patch)
treeb9831723172c9250731106807fb88991e0ce3de8 /tasks
parent49301ed7855017d7fe5c79d758b60bf99585692f (diff)
downloadmruby-38fdca82c6e1de671de1c508bec588c2035a6fd8.tar.gz
mruby-38fdca82c6e1de671de1c508bec588c2035a6fd8.zip
Use GNU extension in C++ for cygwin
Diffstat (limited to 'tasks')
-rw-r--r--tasks/toolchains/gcc.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/toolchains/gcc.rake b/tasks/toolchains/gcc.rake
index 1a28026bf..e9ea2550c 100644
--- a/tasks/toolchains/gcc.rake
+++ b/tasks/toolchains/gcc.rake
@@ -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