aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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",