diff options
| author | Jack Nagel | 2014-05-09 20:49:36 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-09 20:49:36 -0500 |
| commit | 180e7c78c2ee7fbfbae6179d6bdae44c4c032892 (patch) | |
| tree | 137182727f355b30f98fd022867d54170ce2271d /Library | |
| parent | ed32759f858f5f61a2c99737b214c8689d055fdd (diff) | |
| download | homebrew-180e7c78c2ee7fbfbae6179d6bdae44c4c032892.tar.bz2 | |
percona-server: build universal under superenv
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/percona-server.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/percona-server.rb b/Library/Formula/percona-server.rb index 644fbfce1..f8bdbe17e 100644 --- a/Library/Formula/percona-server.rb +++ b/Library/Formula/percona-server.rb @@ -29,8 +29,6 @@ class PerconaServer < Formula conflicts_with 'mysql-connector-c', :because => 'both install MySQL client libraries' - env :std if build.universal? - fails_with :llvm do build 2334 cause "https://github.com/Homebrew/homebrew/issues/issue/144" @@ -98,7 +96,10 @@ class PerconaServer < Formula args << "-DWITH_INNODB_MEMCACHED=ON" if build.with? 'memcached' # Make universal for binding to universal applications - args << "-DCMAKE_OSX_ARCHITECTURES='#{Hardware::CPU.universal_archs.as_cmake_arch_flags}'" if build.universal? + if build.universal? + ENV.universal_binary + args << "-DCMAKE_OSX_ARCHITECTURES=#{Hardware::CPU.universal_archs.as_cmake_arch_flags}" + end # Build with local infile loading support args << "-DENABLED_LOCAL_INFILE=1" if build.include? 'enable-local-infile' |
