Mk/Uses/meson.mk: add --auto-features=enabled to improve determinism

PR:		270361
Inspired by:	Alpine, Arch, NixPkgs, OpenBSD, Void
Exp-run by:	antoine
This commit is contained in:
Jan Beich 2023-03-20 13:30:11 +00:00
parent 6441225344
commit 3507fb3e4e

View file

@ -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.