aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJørgen P. Tjernø2012-01-09 15:21:50 -0800
committerAdam Vandenberg2012-01-29 22:07:24 -0800
commit6c7f2d822d4dff6aff57474cc816b91a7474b31b (patch)
tree60b9c75aa0cb6acd4735b82aa6c2a5c5b9bb4ee3 /Library/Formula
parent172c05ed9f2fca015247b6ddffade8284368c361 (diff)
downloadhomebrew-6c7f2d822d4dff6aff57474cc816b91a7474b31b.tar.bz2
taglib: build release instead of debug
This changes the cmake call to use release builds instead of debug builds, as debug builds print to stderr etc (which is pretty ugly). This cannot be turned of runtime, only compile time. It also cleans it up by using `std_cmake_parameters`. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/taglib.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/taglib.rb b/Library/Formula/taglib.rb
index 5068ea10f..a6dc8fade 100644
--- a/Library/Formula/taglib.rb
+++ b/Library/Formula/taglib.rb
@@ -8,7 +8,8 @@ class Taglib < Formula
depends_on 'cmake' => :build
def install
- system "cmake", "-DWITH_MP4=ON", "-DWITH_ASF=ON", "-DCMAKE_INSTALL_PREFIX=#{prefix}"
+ ENV.append 'CXXFLAGS', "-DNDEBUG=1"
+ system "cmake #{std_cmake_parameters} -DWITH_MP4=ON -DWITH_ASF=ON"
system "make"
system "make install"
end