[jdk11u-dev] RFR: 8344458: [11u] Add initial support for building with XCode 14 [v3]
Antonio Vieiro
duke at openjdk.org
Thu Nov 21 07:17:17 UTC 2024
On Wed, 20 Nov 2024 16:52:03 GMT, Andrew John Hughes <andrew at openjdk.org> wrote:
> [...]
> If these flags are needed for builds with XCode 14, we should detect that this newer compiler is being used and add them automatically. In fact, ideally, you should not depend on the version at all but test the compiler with the flag and add it if it works. Take a look at `FLAGS_SETUP_GCC6_COMPILER_FLAGS` also in `flags-cflags.m4`
> [...]
Yep, I came to the same conclusion in the updates_dev mailing list after pushing. The flag was useful to try to compile on XCode 13 and XCode 14 during experiments, but detecting the compiler is probably the way to go.
-------------
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2966#issuecomment-2490243260
More information about the jdk-updates-dev
mailing list