mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Revert "Add support for CC="gcc --option ..." again"
This reverts commit d5c8868346.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user