RFR: 8323672: Suppress unwanted autoconf added flags in CC and CXX [v2]
Julian Waters
jwaters at openjdk.org
Sat Jan 13 06:13:18 UTC 2024
On Fri, 12 Jan 2024 16:15:34 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 one additional commit since the last revision:
>
> make/autoconf/toolchain.m4
>
> Co-authored-by: Magnus Ihse Bursie <mag at icus.se>
I was thinking earlier this morning if I could roll a custom AC_PROG_CC for the JDK, since it could solve the issues that the current AC_PROG_CC and AC_PROG_CXX (including the addition of flags that we don't want). This way we could avoid hacks and messing with autoconf internals related to the problems that AC_PROG_CC presents (such as the one present here). Any thoughts on this?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17401#issuecomment-1890336752
More information about the build-dev
mailing list