diff options
| author | Jack Nagel | 2014-05-19 13:55:12 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-19 13:55:12 -0500 |
| commit | 21dcf58a8043b88a97c35f9119fafaad0e707940 (patch) | |
| tree | c3b163eb26896d785233e4579b27451667652f38 /Library/Formula | |
| parent | 02b66f1063c26c9ad0da9594cb7fcd31401b3474 (diff) | |
| download | homebrew-21dcf58a8043b88a97c35f9119fafaad0e707940.tar.bz2 | |
mongodb: inline variable
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mongodb.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb index d64da17dd..b9847c821 100644 --- a/Library/Formula/mongodb.rb +++ b/Library/Formula/mongodb.rb @@ -29,7 +29,6 @@ class Mongodb < Formula def install args = ["--prefix=#{prefix}", "-j#{ENV.make_jobs}"] - cxx = ENV.cxx if ENV.compiler == :clang && MacOS.version >= :mavericks # when building on Mavericks with libc++ # Use --osx-version-min=10.9 such that the compiler defaults to libc++. @@ -40,7 +39,7 @@ class Mongodb < Formula args << '--64' if MacOS.prefer_64_bit? args << "--cc=#{ENV.cc}" - args << "--cxx=#{cxx}" + args << "--cxx=#{ENV.cxx}" # --full installs development headers and client library, not just binaries # (only supported pre-2.7) |
