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.
This commit is contained in:
parent
4a20f76382
commit
678dbc1973
@ -1420,7 +1420,7 @@ class Formula
|
||||
|
||||
# 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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user