mongodb: disable warnings as errors on >Yosemite
The problem with MongoDB's compile seems to be related to Clang within Xcode 7.0 rather than El Capitain itself. Since Xcode 7.0 is available for 10.10 as well and contains the 10.10 SDK we need to cover that use case. I don't hugely advise running Xcode 7.0 on 10.10 just yet, but that's not going to stop people from doing so. Closes Homebrew/homebrew#41971.
This commit is contained in:
parent
fcc21eb590
commit
bc4f126b43
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class Mongodb < Formula
|
|||
|
||||
args << "--use-system-boost" if build.with? "boost"
|
||||
args << "--use-new-tools"
|
||||
args << "--disable-warnings-as-errors" if MacOS.version >= :el_capitan
|
||||
args << "--disable-warnings-as-errors" if MacOS.version >= :yosemite
|
||||
|
||||
if build.with? "openssl"
|
||||
args << "--ssl" << "--extrapath=#{Formula["openssl"].opt_prefix}"
|
||||
|
|
Loading…
Reference in a new issue