RFR: 8323672: Suppress unwanted autoconf added flags in CC and CXX [v4]
Julian Waters
jwaters at openjdk.org
Wed Jan 17 15:32:51 UTC 2024
On Wed, 17 Jan 2024 14:15:02 GMT, Julian Waters <jwaters at openjdk.org> wrote:
>> [JDK-8323008](https://bugs.openjdk.org/browse/JDK-8323008) reports unwanted autoconf flags being added to the command line, and solves the issue by filtering out the added flags by force. This is not optimal however, as doing so leaves the autoconf message that the flags were added still displaying during the configure process, which is confusing. Instead, setting a couple of fields to disable the autoconf internals responsible for the unwanted flag is a cleaner solution
>
> Julian Waters has updated the pull request incrementally with two additional commits since the last revision:
>
> - Switch to UTIL_PROG_CC and UTIL_PROG_CXX in toolchain.m4
> - Provide UTIL_PROG_CC and UTIL_PROG_CXX in util.m4
What fun, I just found out that omitting the call to AC_PROG_CC and AC_PROG_CXX has no effect, and they're _still_ called magically from somewhere by autoconf even if you don't call them. I'm genuinely at a loss for words :)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17401#issuecomment-1896052857
More information about the build-dev
mailing list