git: 84ffbf46e812 - main - Mk/Uses/meson.mk: Disable predefined optimization level when buildtype is release
Date: Mon, 03 Jul 2023 20:01:12 UTC
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=84ffbf46e812acd734565613e0008e196a62cadc commit 84ffbf46e812acd734565613e0008e196a62cadc Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2023-07-03 19:50:44 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2023-07-03 20:00:17 +0000 Mk/Uses/meson.mk: Disable predefined optimization level when buildtype is release Ports framework handles optimization levels so disable Meson's predefined optimization level Reference: https://mesonbuild.com/Builtin-options.html#details-for-buildtype PR: 272321 Reviewed by: jbeich --- Mk/Uses/meson.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/Mk/Uses/meson.mk b/Mk/Uses/meson.mk index f58addcb230a..1442982f7792 100644 --- a/Mk/Uses/meson.mk +++ b/Mk/Uses/meson.mk @@ -53,6 +53,7 @@ INSTALL_TARGET= install CONFIGURE_ARGS+= --buildtype debug . else CONFIGURE_ARGS+= --buildtype release \ + --optimization plain \ --strip . endif