summaryrefslogtreecommitdiffhomepage
path: root/tasks/mruby_build.rake
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-09-08 23:05:32 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-09-08 23:05:32 +0900
commitd23bc85b546af771b875f2ae3beaaa5c141683db (patch)
tree430aab55b7e4bc748ddc28a0de26d85474c657cb /tasks/mruby_build.rake
parent902a4da2712eabfc6c46ae374074637c6377e406 (diff)
parent63e34c30e0975e55a59f6e9d1eb4ba7fc44ec0de (diff)
downloadmruby-d23bc85b546af771b875f2ae3beaaa5c141683db.tar.gz
mruby-d23bc85b546af771b875f2ae3beaaa5c141683db.zip
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'tasks/mruby_build.rake')
-rw-r--r--tasks/mruby_build.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/mruby_build.rake b/tasks/mruby_build.rake
index 06bb2a4e6..35fca428e 100644
--- a/tasks/mruby_build.rake
+++ b/tasks/mruby_build.rake
@@ -109,7 +109,7 @@ module MRuby
def enable_cxx_abi
return if @cxx_exception_disabled or @cxx_abi_enabled
compilers.each { |c| c.defines += %w(MRB_ENABLE_CXX_EXCEPTION) }
- linker.command = cxx.command
+ linker.command = cxx.command if toolchains.find { |v| v == 'gcc' }
@cxx_abi_enabled = true
end