From 5f3c40398573bae10a22121b9bce87df504bd70b Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 4 Aug 2013 08:28:51 -0700 Subject: qt, qt5: use stdenv for universal builds. Fixes #21534. --- Library/Formula/qt.rb | 2 ++ Library/Formula/qt5.rb | 2 ++ 2 files changed, 4 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb index 5e043bf1d..d820e5ff1 100644 --- a/Library/Formula/qt.rb +++ b/Library/Formula/qt.rb @@ -25,6 +25,8 @@ class Qt < Formula depends_on "d-bus" if build.with? 'qtdbus' depends_on "mysql" => :optional + env :std if build.universal? + def install ENV.append "CXXFLAGS", "-fvisibility=hidden" diff --git a/Library/Formula/qt5.rb b/Library/Formula/qt5.rb index 892a868ff..c3bb486e3 100644 --- a/Library/Formula/qt5.rb +++ b/Library/Formula/qt5.rb @@ -19,6 +19,8 @@ class Qt5 < Formula depends_on "d-bus" if build.include? 'with-qtdbus' depends_on "mysql" => :optional + env :std if build.universal? + def install args = ["-prefix", prefix, "-system-zlib", -- cgit v1.2.3