aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2015-01-21 15:25:18 -0500
committerJack Nagel2015-01-21 15:25:18 -0500
commit3288c4fae3e8ab984a64c11802ac6e3b7d01ce26 (patch)
tree8c95e191d5abd5acc3099b3393827932142d3453 /Library
parent0dea0eab7c7a9a55e27267d84974341658ad1a35 (diff)
downloadhomebrew-3288c4fae3e8ab984a64c11802ac6e3b7d01ce26.tar.bz2
Revert "llvm: make compiler-rt optional"
This reverts commit 0dea0eab7c7a9a55e27267d84974341658ad1a35.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/llvm.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/llvm.rb b/Library/Formula/llvm.rb
index 41018c782..3b2889b3a 100644
--- a/Library/Formula/llvm.rb
+++ b/Library/Formula/llvm.rb
@@ -71,7 +71,6 @@ class Llvm < Formula
option "with-all-targets", "Build all target backends"
option "without-shared", "Don't build LLVM as a shared library"
option "without-assertions", "Speeds up LLVM, but provides less debug information"
- option "with-asan", "Include support for -faddress-sanitizer (from compiler-rt)"
deprecated_option "rtti" => "with-rtti"
deprecated_option "all-targets" => "with-all-targets"
@@ -98,7 +97,7 @@ class Llvm < Formula
(buildpath/"projects/libcxx").install resource("libcxx")
(buildpath/"tools/clang").install resource("clang")
(buildpath/"tools/clang/tools/extra").install resource("clang-tools-extra")
- (buildpath/"projects/compiler-rt").install resource("compiler-rt") if build.with? "asan"
+ (buildpath/"projects/compiler-rt").install resource("compiler-rt")
end
(buildpath/"tools/lld").install resource("lld") if build.with? "lld"
@@ -119,7 +118,7 @@ class Llvm < Formula
"--disable-bindings",
]
- if build.with? "all-targets" or build.with? "asan"
+ if build.with? "all-targets"
args << "--enable-targets=all"
else
args << "--enable-targets=host"