diff options
| author | take-cheeze <[email protected]> | 2019-12-23 20:58:43 +0900 |
|---|---|---|
| committer | take-cheeze <[email protected]> | 2019-12-23 20:58:43 +0900 |
| commit | 38fdca82c6e1de671de1c508bec588c2035a6fd8 (patch) | |
| tree | b9831723172c9250731106807fb88991e0ce3de8 | |
| parent | 49301ed7855017d7fe5c79d758b60bf99585692f (diff) | |
| download | mruby-38fdca82c6e1de671de1c508bec588c2035a6fd8.tar.gz mruby-38fdca82c6e1de671de1c508bec588c2035a6fd8.zip | |
Use GNU extension in C++ for cygwin
| -rw-r--r-- | tasks/toolchains/gcc.rake | 2 |
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 |
