aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mod_python.rb
diff options
context:
space:
mode:
authorquarnster2012-03-28 22:14:18 +0300
committerMike McQuaid2012-03-29 17:30:46 +1100
commit7c4f06669cae5e342ea40086b133c4bbd553354f (patch)
treef50cb3854c59e9670e147fb17704414d2f7ccac6 /Library/Formula/mod_python.rb
parentc9cecc55ac324c06d67c44c49c1bd53fd37420d6 (diff)
downloadhomebrew-7c4f06669cae5e342ea40086b133c4bbd553354f.tar.bz2
Fix Qt sometimes unintentionally using LLVM.
Moved setting ENV['LD'] = ENV['CXX'] to after ENV.llvm is (possibly) set. Otherwise ENV['LD'] might end up as llvm-gcc rather than the expected CXX version. Verified that this fixed the issue I had installing QT on my machine. Fixes issue #11202. See also #11198. By the comment above where ENV.llvm is set, maybe it was supposed to be using clang rather than llvm-gcc though because my Xcode is 3.2.6. clang is "Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn)", and llvm-gcc is "i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.6)". In any case, moving these two lines made it compile and install fine on my system. Fixes #11261, #11202, #11198.
Diffstat (limited to 'Library/Formula/mod_python.rb')
0 files changed, 0 insertions, 0 deletions