aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/llvm.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/llvm.rb b/Library/Formula/llvm.rb
index 8cfdb06c0..465711b21 100644
--- a/Library/Formula/llvm.rb
+++ b/Library/Formula/llvm.rb
@@ -6,6 +6,8 @@ class Llvm <Formula
@md5='55df2ea8665c8094ad2ef85187b9fc74'
def install
+ ENV.gcc_4_2 # llvm can't compile itself
+
system "./configure", "--prefix=#{prefix}",
"--enable-targets=x86",
"--enable-optimized"