libvpx: fixed build option

Closes Homebrew/homebrew#24150.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
ichizok 2013-11-10 02:42:19 +09:00 committed by Jack Nagel
parent 694ddb3bfb
commit 1b4527033f

View file

@ -23,7 +23,8 @@ class Libvpx < Formula
args << "--enable-gcov" if build.include? "gcov" and not ENV.compiler == :clang
args << "--enable-mem-tracker" if build.include? "mem-tracker"
args << "--enable-postproc-visualizer" if build.include? "visualizer"
args << "--extra-cflags=-DGTEST_USE_OWN_TR1_TUPLE=1" # Mavericks uses libc++ which doesn't supply <TR1/tuple>
ENV.append "CXXFLAGS", "-DGTEST_USE_OWN_TR1_TUPLE=1" # Mavericks uses libc++ which doesn't supply <TR1/tuple>
# see http://code.google.com/p/webm/issues/detail?id=401
# Configure misdetects 32-bit 10.6.