On Fri, 12 Jan 2024 11:35:48 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:
> The grep fixes are excellent, thank you for those! > > The CXX filtering is a hack, and I'm slightly less happy about that. Otoh, > the entire autoconf compiler detection stuff is so-so, and we're basically > trying to avoid getting entangled in it, so I guess adding yet another > workaround is okay. As I mentioned above, the autoconf inserting of those compiler flags can be disabled by setting ac_prog_cc_stdc and ac_prog_cxx_stdcxx to readonly empty values. It's also a workaround, but is slightly less hacky than filtering out the CXX values like this. Maybe a topic for another changeset? ------------- PR Comment: https://git.openjdk.org/jdk/pull/17301#issuecomment-1889217261