On Fri, 12 Jan 2024 16:15:34 GMT, Julian Waters <jwat...@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 <m...@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

Reply via email to