From 01cefc94c766b87d426cf1dec89a8867454faf0e Mon Sep 17 00:00:00 2001 From: Maxim Kartashev Date: Tue, 30 Nov 2021 13:01:17 +0000 Subject: [PATCH] 8277977: Incorrect references to --enable-reproducible-builds in docs Reviewed-by: ihse --- doc/building.html | 2 +- doc/building.md | 2 +- make/autoconf/jdk-options.m4 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/building.html b/doc/building.html index 1333a36771a..97c9b2a4bb6 100644 --- a/doc/building.html +++ b/doc/building.html @@ -891,7 +891,7 @@ spawn failed -

Add the flag --enable-reproducible-builds to your configure command line. This will turn on support for reproducible builds where it could otherwise be lacking.

+

Add the flag --enable-reproducible-build to your configure command line. This will turn on support for reproducible builds where it could otherwise be lacking.

diff --git a/doc/building.md b/doc/building.md index ac694ef8404..033f99d3f5a 100644 --- a/doc/building.md +++ b/doc/building.md @@ -1518,7 +1518,7 @@ non-determinism and make a larger part of the build reproducible: * Turn on build system support for reproducible builds -Add the flag `--enable-reproducible-builds` to your `configure` command line. +Add the flag `--enable-reproducible-build` to your `configure` command line. This will turn on support for reproducible builds where it could otherwise be lacking. diff --git a/make/autoconf/jdk-options.m4 b/make/autoconf/jdk-options.m4 index f8062d91b69..337263caa50 100644 --- a/make/autoconf/jdk-options.m4 +++ b/make/autoconf/jdk-options.m4 @@ -702,7 +702,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_REPRODUCIBLE_BUILD], if test "x$OPENJDK_BUILD_OS" = xwindows && \ test "x$ALLOW_ABSOLUTE_PATHS_IN_OUTPUT" = xfalse && \ test "x$ENABLE_REPRODUCIBLE_BUILD" = xfalse; then - AC_MSG_NOTICE([On Windows it is not possible to combine --disable-reproducible-builds]) + AC_MSG_NOTICE([On Windows it is not possible to combine --disable-reproducible-build]) AC_MSG_NOTICE([with --disable-absolute-paths-in-output.]) AC_MSG_ERROR([Cannot continue]) fi