Add a universal flag for building mysql
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
cb1d352abe
commit
c7bc18e180
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,7 @@ class Mysql <Formula
|
|||
['--with-tests', "Keep tests when installing."],
|
||||
['--with-bench', "Keep benchmark app when installing."],
|
||||
['--client-only', "Only install client tools, not the server."],
|
||||
['--universal', "Make mysql a universal binary"]
|
||||
]
|
||||
end
|
||||
|
||||
|
@ -27,6 +28,9 @@ class Mysql <Formula
|
|||
ENV['CXXFLAGS'] = ENV['CXXFLAGS'].gsub "-fomit-frame-pointer", ""
|
||||
ENV['CXXFLAGS'] += " -fno-omit-frame-pointer -felide-constructors"
|
||||
|
||||
# Make universal for bindings to universal applications
|
||||
ENV.universal_binary if ARGV.include? '--universal'
|
||||
|
||||
configure_args = [
|
||||
"--without-docs",
|
||||
"--without-debug",
|
||||
|
|
Loading…
Reference in a new issue