boost: use c++11 compilers in c++11 mode
Fixes Homebrew/homebrew#40319. Closes Homebrew/homebrew#40327. Signed-off-by: Tim D. Smith <git@tim-smith.us>
This commit is contained in:
parent
b62503e227
commit
f8fac7599f
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@ class Boost < Formula
|
|||
cause "Dropped arguments to functions when linking with boost"
|
||||
end
|
||||
|
||||
needs :cxx11 if build.cxx11?
|
||||
|
||||
def install
|
||||
# https://svn.boost.org/trac/boost/ticket/8841
|
||||
if build.with?("mpi") && build.with?("single")
|
||||
|
|
Loading…
Reference in a new issue