Skip to content
Snippets Groups Projects
Commit f274ad32 authored by Misty De Meo's avatar Misty De Meo
Browse files

superenv: fix locating non-Xcode gcc-4.2

parent b072da14
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ class << ENV
# Homebrew's apple-gcc42 will be outside the PATH in superenv,
# so xcrun may not be able to find it
if ENV['HOMEBREW_CC'] == 'gcc-4.2' && !MacOS.locate('gcc-4.2')
if ENV['HOMEBREW_CC'] == 'gcc-4.2'
apple_gcc42 = Formula.factory('apple-gcc42') rescue nil
ENV.append('PATH', apple_gcc42.opt_prefix/'bin', ':') if apple_gcc42
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