aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-05-19 13:55:12 -0500
committerJack Nagel2014-05-19 13:55:12 -0500
commit21dcf58a8043b88a97c35f9119fafaad0e707940 (patch)
treec3b163eb26896d785233e4579b27451667652f38 /Library
parent02b66f1063c26c9ad0da9594cb7fcd31401b3474 (diff)
downloadhomebrew-21dcf58a8043b88a97c35f9119fafaad0e707940.tar.bz2
mongodb: inline variable
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mongodb.rb3
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)