google-sparsehash: fix compilation against libc++
Fixes Homebrew/homebrew#27652.
This commit is contained in:
parent
93010e61bc
commit
d8da878db5
1 changed files with 6 additions and 0 deletions
|
@ -7,6 +7,12 @@ class GoogleSparsehash < Formula
|
|||
|
||||
option :cxx11
|
||||
|
||||
# Patch from upstream issue: https://code.google.com/p/sparsehash/issues/detail?id=99
|
||||
patch do
|
||||
url "https://gist.githubusercontent.com/jacknagel/3314c8cc67032a912f8b/raw/387b44a3b46e7b68876dbcb3c6595d700fa08a3c/sparsehash.diff"
|
||||
sha1 "bc2083e2c7e699c04f65a1d87dd0cb96deee9b24"
|
||||
end
|
||||
|
||||
def install
|
||||
ENV.cxx11 if build.cxx11?
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
|
|
Loading…
Reference in a new issue