aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJamie Kirkpatrick2012-02-27 08:43:16 +0100
committerMike McQuaid2012-02-27 09:55:13 +0000
commit1f280f2e558868afa70b64c19625e406e4fdda02 (patch)
tree1e316284b861fae382f7d841262d469341caf84a /Library
parent1e1fe97827fe45ce29b76003ce250436beff95ae (diff)
downloadhomebrew-1f280f2e558868afa70b64c19625e406e4fdda02.tar.bz2
Force GCC-LLVM when compiling with the Xcode 4.3+ developer tools
Closes #10519. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/qt.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb
index 0aa45160c..2716b3ff4 100644
--- a/Library/Formula/qt.rb
+++ b/Library/Formula/qt.rb
@@ -78,6 +78,10 @@ class Qt < Formula
args << "-release"
end
+ # Compilation currently fails with the newer versions of clang
+ # shipped with Xcode 4.3+
+ ENV.llvm if MacOS.clang_version.to_f <= 3.1
+
system "./configure", *args
system "make"
ENV.j1