aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/google-sparsehash.rb
diff options
context:
space:
mode:
authorXin Sun2013-12-21 19:44:51 +0800
committerMike McQuaid2014-01-07 10:54:31 +0000
commit82eeeb43714474e2791b9f5d04c6a2fcbb094dc3 (patch)
tree40b76a00384eb4eb7d38ceb49b4132cedb7051c2 /Library/Formula/google-sparsehash.rb
parent714c030b437073afc593ae0ae24ab9d74a86dd6a (diff)
downloadhomebrew-82eeeb43714474e2791b9f5d04c6a2fcbb094dc3.tar.bz2
google-sparsehash: add c++11 option
Closes #25378. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/google-sparsehash.rb')
-rw-r--r--Library/Formula/google-sparsehash.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/google-sparsehash.rb b/Library/Formula/google-sparsehash.rb
index 66f70ca92..66eb484f1 100644
--- a/Library/Formula/google-sparsehash.rb
+++ b/Library/Formula/google-sparsehash.rb
@@ -5,7 +5,10 @@ class GoogleSparsehash < Formula
url 'http://sparsehash.googlecode.com/files/sparsehash-2.0.2.tar.gz'
sha1 '12c7552400b3e20464b3362286653fc17366643e'
+ option :cxx11
+
def install
+ ENV.cxx11 if build.cxx11?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make check"