aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-11-08 18:10:40 -0600
committerJack Nagel2013-11-08 18:10:40 -0600
commita1c6bbdaf84b74c4ed51e64873421e79f7386279 (patch)
tree347939c7337b9aa4ef5f3fc7f8b5274b173226d5 /Library/Formula
parent61b75927a1dc56b3c6fc5dc2fb3088d2297c8ff7 (diff)
downloadhomebrew-a1c6bbdaf84b74c4ed51e64873421e79f7386279.tar.bz2
erlang: mark as always failing with llvm
There is always a better alternative than llvm-gcc available (clang on Xcode 4.3+, gcc-4.2 elsewhere), so let's get rid of this hack (who wants an unoptimized erlang built with llvm-gcc, anyway?)
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/erlang.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/Library/Formula/erlang.rb b/Library/Formula/erlang.rb
index 44c3bbea9..1662e2f1d 100644
--- a/Library/Formula/erlang.rb
+++ b/Library/Formula/erlang.rb
@@ -38,18 +38,11 @@ class Erlang < Formula
depends_on 'unixodbc' if MacOS.version >= :mavericks
depends_on 'fop' => :optional # enables building PDF docs
- fails_with :llvm do
- build 2334
- end
+ fails_with :llvm
def install
ohai "Compilation takes a long time; use `brew install -v erlang` to see progress" unless ARGV.verbose?
- if ENV.compiler == :llvm
- # Don't use optimizations. Fixes build on Lion/Xcode 4.2
- ENV.remove_from_cflags /-O./
- ENV.append_to_cflags '-O0'
- end
ENV.append "FOP", "#{HOMEBREW_PREFIX}/bin/fop" if build.with? 'fop'
# Do this if building from a checkout to generate configure