aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/llvm.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/Library/Formula/llvm.rb b/Library/Formula/llvm.rb
index 7b38648e0..eab3ed385 100644
--- a/Library/Formula/llvm.rb
+++ b/Library/Formula/llvm.rb
@@ -38,12 +38,9 @@ class Llvm < Formula
option 'rtti', 'Build with C++ RTTI'
option 'disable-assertions', 'Speeds up LLVM, but provides less debug information'
- def install
- if build.universal? and build.include? 'shared'
- onoe "Cannot specify both shared and universal (will not build)"
- exit 1
- end
+ env :std if build.universal?
+ def install
Clang.new("clang").brew do
clang_dir.install Dir['*']
end if build.include? 'with-clang'