aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorichizok2013-11-10 02:42:19 +0900
committerJack Nagel2013-11-11 19:52:50 -0600
commitad2438ab28161cdd2a068f5c4686f7a0aefe303a (patch)
tree93fa8d673aa3419233f2caa6a5d6e76b7d6e6f85 /Library
parent3a7d0663a09e9408568b38cba41371fc0a00f23e (diff)
downloadhomebrew-ad2438ab28161cdd2a068f5c4686f7a0aefe303a.tar.bz2
libvpx: fixed build option
Closes #24150. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libvpx.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/libvpx.rb b/Library/Formula/libvpx.rb
index 02d4a2545..aefcc2454 100644
--- a/Library/Formula/libvpx.rb
+++ b/Library/Formula/libvpx.rb
@@ -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.