aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/sl.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/sl.rb b/Library/Formula/sl.rb
index 44a0a13e2..165b0e09b 100644
--- a/Library/Formula/sl.rb
+++ b/Library/Formula/sl.rb
@@ -7,6 +7,8 @@ class Sl < Formula
md5 'd0d997b964bb3478f7f4968eee13c698'
def install
+ ENV.llvm if MacOS.clang_version.to_f <= 3.1
+
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
bin.install "sl"
man1.install "sl.1"