qt: enable pch build with clang.
Closes Homebrew/homebrew#15050. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
7e8b27a76c
commit
657d7ff1e3
1 changed files with 3 additions and 1 deletions
|
@ -38,10 +38,12 @@ class Qt < Formula
|
|||
def install
|
||||
ENV.append "CXXFLAGS", "-fvisibility=hidden"
|
||||
args = ["-prefix", prefix,
|
||||
"-system-zlib", "-no-pch",
|
||||
"-system-zlib",
|
||||
"-confirm-license", "-opensource",
|
||||
"-cocoa", "-fast" ]
|
||||
|
||||
args << "-platform" << "unsupported/macx-clang" if ENV.compiler == :clang
|
||||
|
||||
# See: https://github.com/mxcl/homebrew/issues/issue/744
|
||||
args << "-system-sqlite" if MacOS.version == :leopard
|
||||
|
||||
|
|
Loading…
Reference in a new issue