diff --git a/Formula/mysql-cluster.rb b/Formula/mysql-cluster.rb index 749f396bdb9..59d350e1f49 100644 --- a/Formula/mysql-cluster.rb +++ b/Formula/mysql-cluster.rb @@ -21,8 +21,6 @@ class MysqlCluster < Formula conflicts_with 'mysql', 'mariadb', 'percona-server', :because => "mysql, mariadb, and percona install the same binaries." - env :std if build.universal? - fails_with :clang do build 500 cause "http://article.gmane.org/gmane.comp.db.mysql.cluster/2085" @@ -69,7 +67,10 @@ class MysqlCluster < Formula args << "-DWITH_BLACKHOLE_STORAGE_ENGINE=1" if build.with? "blackhole-storage-engine" # 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'