diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2023-03-20 13:30:11 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2023-04-01 08:44:11 +0000 |
commit | 3507fb3e4ec9d733a3be2d41cb19adb060c5e43f (patch) | |
tree | 680d0d995e1224e40866b3373e329a8fbf6f2293 /Mk | |
parent | 644122534485b60eb610c383724a4401ebbd65f2 (diff) |
Mk/Uses/meson.mk: add --auto-features=enabled to improve determinism
PR: 270361
Inspired by: Alpine, Arch, NixPkgs, OpenBSD, Void
Exp-run by: antoine
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Uses/meson.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/Uses/meson.mk b/Mk/Uses/meson.mk index 043c6e1e4c7a..f58addcb230a 100644 --- a/Mk/Uses/meson.mk +++ b/Mk/Uses/meson.mk @@ -36,6 +36,10 @@ CONFIGURE_ARGS+= --prefix ${PREFIX} \ --mandir man \ --infodir ${INFO_PATH} +# Enable all optional features to make builds deterministic. Consumers can +# expose those as port OPTIONS_* or explicitly pass -D<option>=disabled +CONFIGURE_ARGS+= --auto-features=enabled + # Disable color output. Meson forces it on by default, Ninja # strips it before it goes to the log, but Samurai does not, so we # might end up with ANSI escape sequences in the logs. |