diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/protobuf.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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}", |
