aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 68c836f2b..36bdb0ffe 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -1041,8 +1041,8 @@ class Formula
# less consistent and the standard parameters are more memorable.
def std_cmake_args
%W[
- -DCMAKE_C_FLAGS_RELEASE=
- -DCMAKE_CXX_FLAGS_RELEASE=
+ -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG
+ -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG
-DCMAKE_INSTALL_PREFIX=#{prefix}
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_FIND_FRAMEWORK=LAST