aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-12-30 20:21:00 -0500
committerJack Nagel2014-12-30 20:21:00 -0500
commit9279fc5fceed9ef1b7ccd0dd1f9c2b46e562b36a (patch)
tree5c99f5aab2963f616cc07490049786acaf130ee1 /Library
parent7c147e540fbdf61a7e35fd8bd791b5f75a19e3c3 (diff)
downloadhomebrew-9279fc5fceed9ef1b7ccd0dd1f9c2b46e562b36a.tar.bz2
llvm: enable RTTI when building libc++
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/llvm.rb2
1 files changed, 1 insertions, 1 deletions
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}",