git: 4f3befc2a362 - main - ports-mgmt/pkg-devel: Add an option for building with sanitizer
Kubilay Kocak
koobs at FreeBSD.org
Wed Sep 15 00:33:10 UTC 2021
On 14/09/2021 8:10 pm, Emmanuel Vadot wrote:
> +.if ${PORT_OPTIONS:MSAN}
> +CONFIGURE_ARGS+= --with-asan --with-ubsan
> +.endif
> +
Might be worth providing two options for these, as we seek to enable
them in more ports across the board as a longer term target.
That way the options and options descriptions can be shared, and used
individually, as I imagine there are going to be plenty of cases where
one can be used but not the other, at various times, or for various
reasons.
Also, should use CONFIGURE_WITH unless the softwares autoconf
(configure.ac) doesn't support it (it should).
More information about the dev-commits-ports-all
mailing list