libstxxl: build in release mode.

Fixes Homebrew/homebrew#30437.
master
Dennis Luxen 2014-06-26 09:52:54 +02:00 committed by Mike McQuaid
parent 4d94972d55
commit e0a28abb6d
1 changed files with 3 additions and 1 deletions

View File

@ -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