aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/protobuf.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-01-28 21:19:48 -0800
committerAdam Vandenberg2012-01-28 21:19:48 -0800
commitddfba7bc6100305a9ca235ba74f488bcee9abf44 (patch)
tree92420a7e4dc662c0c11d58dc10ada751539139bb /Library/Formula/protobuf.rb
parent56bf3e78bc35081819646ad47df7084024ce43aa (diff)
downloadhomebrew-ddfba7bc6100305a9ca235ba74f488bcee9abf44.tar.bz2
protobuf: don't build in debug mode
Diffstat (limited to 'Library/Formula/protobuf.rb')
-rw-r--r--Library/Formula/protobuf.rb4
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}",