On Tue, 13 Dec 2022 13:45:04 GMT, Justin King <jck...@openjdk.org> wrote:
> Nope. Some targets end up passing C++ flags to the C compiler, causing a > failure. Ah right, we (mis)use CFLAGS (instead of CXXFLAGS) in some SetupNativeCompilation calls when all source files are C++. In that case, your suggested patch makes sense to me. ------------- PR: https://git.openjdk.org/jdk/pull/11604