diff options
| author | Chris Hoffman | 2010-06-17 09:22:38 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-17 07:47:15 -0700 |
| commit | 9d73887f099fada4fdb5b7be81fa052f355af7a2 (patch) | |
| tree | f05b8b2863d7784dce378041c1e9432d9245f2b0 | |
| parent | 1fa6a8afc810770be792fa93a555004c31630dcc (diff) | |
| download | homebrew-9d73887f099fada4fdb5b7be81fa052f355af7a2.tar.bz2 | |
Add a universal flag for building mysql
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/mysql.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb index 032afe9ca..f8a00ff3d 100644 --- a/Library/Formula/mysql.rb +++ b/Library/Formula/mysql.rb @@ -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", |
