aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2012-04-01 12:48:59 -0500
committerJack Nagel2012-04-01 12:48:59 -0500
commite978cd3cd0b1232d6c59defa6cf2001101c05960 (patch)
tree32d53e62b8ed9201cc002ddf80ebf1eca1e9a908 /Library/Formula
parent0bd681d44dd8003b1414d617d60a44c676125fcc (diff)
downloadhomebrew-e978cd3cd0b1232d6c59defa6cf2001101c05960.tar.bz2
mariadb: fails with clang
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mariadb.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/mariadb.rb b/Library/Formula/mariadb.rb
index 479025890..2c87c64a0 100644
--- a/Library/Formula/mariadb.rb
+++ b/Library/Formula/mariadb.rb
@@ -9,6 +9,10 @@ class Mariadb < Formula
depends_on 'readline'
+ fails_with :clang do
+ build 318
+ end
+
def options
[
['--with-tests', "Keep tests when installing."],
@@ -19,12 +23,6 @@ class Mariadb < Formula
end
def install
- # FIXME This should be replaced with fails_with_clang once available
- if ENV.compiler == :clang
- opoo "Formula will not build with Clang, using LLVM."
- ENV.llvm
- end
-
ENV.append 'CXXFLAGS', '-fno-omit-frame-pointer -felide-constructors'
# Make universal for bindings to universal applications