diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-02-28 23:27:13 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-02-28 23:27:13 +0900 |
| commit | 1a1f834adeb243c5938604eb826c65d1f0efede0 (patch) | |
| tree | 280fc60eea3abb4ab6604b2be2c097de7e5a1245 /tasks/mruby_build_commands.rake | |
| parent | dc56bbecc81b5d04d3bf9ab337f4ebf7024f654f (diff) | |
| download | mruby-1a1f834adeb243c5938604eb826c65d1f0efede0.tar.gz mruby-1a1f834adeb243c5938604eb826c65d1f0efede0.zip | |
Compile C files by C compiler when C++ files mixed.
ref #3267 #3470
By this commit, mruby do not use C++ ABI mode unless
you specify explicitly. It compiles C files by C
compilers, with C++ exception enabled when it sees
C++ files in your configured mrbgems.
I haven't tried visualcpp, so please submit an issue
if you see any problem with C++ gems on Windows.
Diffstat (limited to 'tasks/mruby_build_commands.rake')
| -rw-r--r-- | tasks/mruby_build_commands.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/mruby_build_commands.rake b/tasks/mruby_build_commands.rake index d688077ff..694b4a24c 100644 --- a/tasks/mruby_build_commands.rake +++ b/tasks/mruby_build_commands.rake @@ -41,7 +41,7 @@ module MRuby class Command::Compiler < Command attr_accessor :flags, :include_paths, :defines, :source_exts attr_accessor :compile_options, :option_define, :option_include_path, :out_ext - attr_accessor :cxx_compile_flag + attr_accessor :cxx_compile_flag, :cxx_exception_flag def initialize(build, source_exts=[]) super(build) |
