diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-01-06 17:14:12 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-01-06 17:14:12 +0900 |
| commit | 8e048ae25db2c00e983bb75f915058844a50c0cb (patch) | |
| tree | 4dbf22f15e482bf082712286bcf0daa5e51aa41c /tasks/core.rake | |
| parent | 1341e53961b3e99ac67d803e5ead677e976d18c4 (diff) | |
| parent | 74c9502bd45fd70926c86ce564c2d5d1df9a6dd0 (diff) | |
| download | mruby-8e048ae25db2c00e983bb75f915058844a50c0cb.tar.gz mruby-8e048ae25db2c00e983bb75f915058844a50c0cb.zip | |
Merge branch 'shuujii-improve-source-scanning-for-presym'
Diffstat (limited to 'tasks/core.rake')
| -rw-r--r-- | tasks/core.rake | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tasks/core.rake b/tasks/core.rake index aca5faed8..a47722e8b 100644 --- a/tasks/core.rake +++ b/tasks/core.rake @@ -2,11 +2,10 @@ as_cxx_srcs = %w[vm error gc].map{|name| "#{MRUBY_ROOT}/src/#{name}.c"} MRuby.each_target do objs = Dir.glob("#{MRUBY_ROOT}/src/*.c").map do |src| - dst = src.pathmap("#{build_dir}/src/%n") if cxx_exception_enabled? && as_cxx_srcs.include?(src) - compile_as_cxx(src, "#{dst}.cxx") + compile_as_cxx(src) else - objfile(dst) + objfile(src.pathmap("#{build_dir}/src/%n")) end end self.libmruby_core_objs << objs |
