diff options
Diffstat (limited to 'Library/Homebrew/extend/ENV/shared.rb')
| -rw-r--r-- | Library/Homebrew/extend/ENV/shared.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Homebrew/extend/ENV/shared.rb b/Library/Homebrew/extend/ENV/shared.rb index 71b5107ee..fd4b78e13 100644 --- a/Library/Homebrew/extend/ENV/shared.rb +++ b/Library/Homebrew/extend/ENV/shared.rb @@ -116,11 +116,7 @@ module SharedEnvExtension # If no valid compiler is found, raises an exception. def validate_cc!(formula) if formula.fails_with? ENV.compiler - begin - send CompilerSelector.new(formula).compiler - rescue CompilerSelectionError => e - raise e.message - end + send CompilerSelector.new(formula).compiler end end |
