summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-05-17 22:37:45 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2019-05-17 22:37:45 +0900
commit8d37a3575b9d6e7648967c675395bd176b360b77 (patch)
treed864a080d360516974d85cfda86fe46aedbfd00a /lib
parenta46da9e44d63c6bfdc591c204bf2704a0dc5b10f (diff)
downloadmruby-8d37a3575b9d6e7648967c675395bd176b360b77.tar.gz
mruby-8d37a3575b9d6e7648967c675395bd176b360b77.zip
Revert "Add support for CC="gcc --option ..." again"
This reverts commit d5c8868346b49e2b2228cb8733398d88f744985b.
Diffstat (limited to 'lib')
-rw-r--r--lib/mruby/build/command.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/mruby/build/command.rb b/lib/mruby/build/command.rb
index 0fa4746da..0f18e0e62 100644
--- a/lib/mruby/build/command.rb
+++ b/lib/mruby/build/command.rb
@@ -30,13 +30,10 @@ module MRuby
def _run(options, params={})
return sh command + ' ' + ( options % params ) if NotFoundCommands.key? @command
begin
- fiber, $rake_root_fiber = $rake_root_fiber, nil
sh build.filename(command) + ' ' + ( options % params )
rescue RuntimeError
NotFoundCommands[@command] = true
_run options, params
- ensure
- $rake_root_fiber = fiber
end
end
end