mariadb: fails with clang

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
master
Jack Nagel 2012-04-01 12:48:59 -05:00
parent bb56dd918c
commit 6cb3f4e513
1 changed files with 4 additions and 6 deletions

View File

@ -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