RFR: 8365231: Don't build gtest with /EHsc

Julian Waters jwaters at openjdk.org
Fri Aug 15 06:48:10 UTC 2025


On Thu, 14 Aug 2025 19:13:18 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> But `-fno-exceptions` _is_ used for gcc

-fno-exceptions to my knowledge is only set in TOOLCHAIN_CFLAGS_JVM and for adlc compiled for Linux. That must mean gtest uses the same flags that the regular JVM does. I was not aware of that, so that would make my previous statement incorrect.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/26721#issuecomment-3190779189


More information about the build-dev mailing list