1 diff --git a/mruby/tasks/toolchains/gcc.rake b/mruby/tasks/toolchains/gcc.rake
2 index 51bda6517..9bc96d0e2 100644
3 --- a/mruby/tasks/toolchains/gcc.rake
4 +++ b/mruby/tasks/toolchains/gcc.rake
5 @@ -23,7 +23,7 @@ MRuby::Toolchain.new(:gcc) do |conf, params|
8 conf.linker do |linker|
9 - linker.command = ENV['LD'] || ENV['CXX'] || ENV['CC'] || default_command
10 + linker.command = ENV['CXX'] || ENV['CC'] || default_command
11 linker.flags = [ENV['LDFLAGS'] || %w()]
12 linker.libraries = %w(m)
13 linker.library_paths = []