From 82eeeb43714474e2791b9f5d04c6a2fcbb094dc3 Mon Sep 17 00:00:00 2001 From: Xin Sun Date: Sat, 21 Dec 2013 19:44:51 +0800 Subject: google-sparsehash: add c++11 option Closes #25378. Signed-off-by: Mike McQuaid --- Library/Formula/google-sparsehash.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library/Formula') 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" -- cgit v1.2.3