aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDennis Luxen2014-06-26 09:52:54 +0200
committerMike McQuaid2014-06-26 11:06:05 +0100
commitb6efee2cf8bb35e2762d46b9b152638bf881a99c (patch)
tree794bab8475191d2097091e34f8f31dc549ffcbee /Library/Formula
parent3be33080b989d87ca2a43f83cf05755d76dfe1ea (diff)
downloadhomebrew-b6efee2cf8bb35e2762d46b9b152638bf881a99c.tar.bz2
libstxxl: build in release mode.
Fixes #30437.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libstxxl.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/libstxxl.rb b/Library/Formula/libstxxl.rb
index 943b95054..755177a87 100644
--- a/Library/Formula/libstxxl.rb
+++ b/Library/Formula/libstxxl.rb
@@ -62,8 +62,10 @@ class Libstxxl < Formula
end
def install
+ args = std_cmake_args - %w{-DCMAKE_BUILD_TYPE=None}
+ args << "-DCMAKE_BUILD_TYPE=Release"
mkdir "build" do
- system "cmake", "..", *std_cmake_args
+ system "cmake", "..", *args
system 'make install'
end
end