From 678dbc19731ca4deb295d64d9288beca5480427c Mon Sep 17 00:00:00 2001 From: Tom Schoonjans Date: Tue, 14 Jul 2020 11:27:49 +0100 Subject: [PATCH] std_meson_args: add release buildtype By default meson compiles using the debug buildtype, which corresponds to -O0 -g. The release buildtype changes this to -O3. --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 46475664e3854..dad45cb000308 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1420,7 +1420,7 @@ def std_cabal_v2_args # Standard parameters for meson builds. def std_meson_args - ["--prefix=#{prefix}", "--libdir=#{lib}"] + ["--prefix=#{prefix}", "--libdir=#{lib}", "--buildtype=release"] end def shared_library(name, version = nil)