aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2013-08-04 08:28:51 -0700
committerMike McQuaid2013-08-04 08:30:14 -0700
commit5f3c40398573bae10a22121b9bce87df504bd70b (patch)
treeac4f37f2f2ede896a0a0237cc8bc40d593db01f7 /Library/Formula
parentda904368d4415c2e98b92a9d2880830fd417f990 (diff)
downloadhomebrew-5f3c40398573bae10a22121b9bce87df504bd70b.tar.bz2
qt, qt5: use stdenv for universal builds.
Fixes #21534.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/qt.rb2
-rw-r--r--Library/Formula/qt5.rb2
2 files changed, 4 insertions, 0 deletions
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",