diff options
| author | Adam Vandenberg | 2012-01-28 21:19:48 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-01-28 21:19:48 -0800 |
| commit | ddfba7bc6100305a9ca235ba74f488bcee9abf44 (patch) | |
| tree | 92420a7e4dc662c0c11d58dc10ada751539139bb /Library/Formula/protobuf.rb | |
| parent | 56bf3e78bc35081819646ad47df7084024ce43aa (diff) | |
| download | homebrew-ddfba7bc6100305a9ca235ba74f488bcee9abf44.tar.bz2 | |
protobuf: don't build in debug mode
Diffstat (limited to 'Library/Formula/protobuf.rb')
| -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}", |
