From 9279fc5fceed9ef1b7ccd0dd1f9c2b46e562b36a Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 30 Dec 2014 20:21:00 -0500 Subject: llvm: enable RTTI when building libc++ --- Library/Formula/llvm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/llvm.rb b/Library/Formula/llvm.rb index 5e79db153..b70e8f6af 100644 --- a/Library/Formula/llvm.rb +++ b/Library/Formula/llvm.rb @@ -84,7 +84,7 @@ class Llvm < Formula ENV['UNIVERSAL_ARCH'] = Hardware::CPU.universal_archs.join(' ') end - ENV['REQUIRES_RTTI'] = '1' if build.include? 'rtti' + ENV["REQUIRES_RTTI"] = "1" if build.include? "rtti" or build.with? "clang" args = [ "--prefix=#{prefix}", -- cgit v1.2.3