Revert "Add support for CC="gcc --option ..." again"

This reverts commit d5c8868346.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2019-05-17 22:37:45 +09:00
parent a46da9e44d
commit 8d37a3575b
-3
View File
@@ -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