forked from mirrors/nixpkgs
14 lines
462 B
Diff
14 lines
462 B
Diff
|
diff --git a/mruby/tasks/toolchains/gcc.rake b/mruby/tasks/toolchains/gcc.rake
|
||
|
index f370c0ab..e5ab9f60 100644
|
||
|
--- a/mruby/tasks/toolchains/gcc.rake
|
||
|
+++ b/mruby/tasks/toolchains/gcc.rake
|
||
|
@@ -22,7 +22,7 @@ MRuby::Toolchain.new(:gcc) do |conf, _params|
|
||
|
end
|
||
|
|
||
|
conf.linker do |linker|
|
||
|
- linker.command = ENV['LD'] || 'gcc'
|
||
|
+ linker.command = 'gcc'
|
||
|
linker.flags = [ENV['LDFLAGS'] || %w()]
|
||
|
linker.libraries = %w(m)
|
||
|
linker.library_paths = []
|