parent
bb56dd918c
commit
6cb3f4e513
|
@ -9,6 +9,10 @@ class Mariadb < Formula
|
||||||
|
|
||||||
depends_on 'readline'
|
depends_on 'readline'
|
||||||
|
|
||||||
|
fails_with :clang do
|
||||||
|
build 318
|
||||||
|
end
|
||||||
|
|
||||||
def options
|
def options
|
||||||
[
|
[
|
||||||
['--with-tests', "Keep tests when installing."],
|
['--with-tests', "Keep tests when installing."],
|
||||||
|
@ -19,12 +23,6 @@ class Mariadb < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
def install
|
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'
|
ENV.append 'CXXFLAGS', '-fno-omit-frame-pointer -felide-constructors'
|
||||||
|
|
||||||
# Make universal for bindings to universal applications
|
# Make universal for bindings to universal applications
|
||||||
|
|
Loading…
Reference in New Issue