mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 19:39:48 -05:00
superenv: fix locating non-Xcode gcc-4.2
This commit is contained in:
1 parent
3684d35e47
commit
a67f150796
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user