From 6de1c22d9954ba4282aac6e4efa4b491626d4565 Mon Sep 17 00:00:00 2001 From: take_cheeze Date: Sun, 2 Mar 2014 04:30:06 +0900 Subject: use c++ compiler to link when c++ abi is enabled --- tasks/mruby_build.rake | 1 + 1 file changed, 1 insertion(+) (limited to 'tasks/mruby_build.rake') diff --git a/tasks/mruby_build.rake b/tasks/mruby_build.rake index 3c0a67179..c65ad4c20 100644 --- a/tasks/mruby_build.rake +++ b/tasks/mruby_build.rake @@ -102,6 +102,7 @@ module MRuby def enable_cxx_abi return if @cxx_abi_enabled compilers.each { |c| c.defines += %w(MRB_ENABLE_CXX_EXCEPTION) } + linker.command = cxx.command @cxx_abi_enabled = true end -- cgit v1.2.3