aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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}",