From ddfba7bc6100305a9ca235ba74f488bcee9abf44 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 28 Jan 2012 21:19:48 -0800 Subject: protobuf: don't build in debug mode --- Library/Formula/protobuf.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library') diff --git a/Library/Formula/protobuf.rb b/Library/Formula/protobuf.rb index af377bae5..8265ba9ad 100644 --- a/Library/Formula/protobuf.rb +++ b/Library/Formula/protobuf.rb @@ -12,6 +12,10 @@ class Protobuf < Formula end def install + # Don't build in debug mode. See: + # https://github.com/mxcl/homebrew/issues/9279 + # http://code.google.com/p/protobuf/source/browse/trunk/configure.ac#61 + ENV.prepend 'CXXFLAGS', '-DNDEBUG' ENV.universal_binary if ARGV.build_universal? system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", -- cgit v1.2.3