From 3e7aaa1ec6a3640f2f6286892917ef0004a13701 Mon Sep 17 00:00:00 2001 From: Myles Borins Date: Tue, 14 May 2013 15:49:33 -0700 Subject: llvm: fix universal and enable universal+shared builds Closes #19822. Signed-off-by: Jack Nagel --- Library/Formula/llvm.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Library/Formula') 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' -- cgit v1.2.3