Skip to content
Snippets Groups Projects
Commit 16c073a1 authored by Jack Nagel's avatar Jack Nagel
Browse files

Remove hardcoded reference to ENV

parent 930cf4c7
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,7 @@ module SharedEnvExtension
# an alternate compiler, altering the value of environment variables.
# If no valid compiler is found, raises an exception.
def validate_cc!(formula)
if formula.fails_with? ENV.compiler
if formula.fails_with? compiler
send CompilerSelector.new(formula).compiler
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment