On Wed, 24 Nov 2021 16:49:31 GMT, Andrew Leonard <aleon...@openjdk.org> wrote:
> To better allow "reproducible builds", a new configure parameter is added to > set the USERNAME build variable, rather than always using the current user: > --with-build-user=<username> > HOTSPOT_BUILD_USER is then set to a reproducible USERNAME if required. > > Signed-off-by: Andrew Leonard <anleo...@redhat.com> make/autoconf/basic.m4 line 99: > 97: > 98: # Setup username (for use in adhoc version strings etc) > 99: AC_ARG_WITH([build-user], [AS_HELP_STRING([--with-build-user], This variable is currently initiated in a rather weird location given what it's used for. As it used to be a one liner, it didn't seem worth the effort to move it to a more suitable location, but when expanding it with a --with flag I think we should also move this to jdk-version.m4, which is the only place where it's currently used. I think it makes sense to treat this as part of the version variables as that's what it's used for. ------------- PR: https://git.openjdk.java.net/jdk/pull/6542