RFR: 8370438: Offer link time optimization support on library level [v2]
Matthias Baesken
mbaesken at openjdk.org
Wed Oct 29 14:35:50 UTC 2025
On Wed, 29 Oct 2025 13:57:08 GMT, Erik Joelsson <erikj at openjdk.org> wrote:
>> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Do not enable LTO for some libs in this PR
>
> make/common/NativeCompilation.gmk line 101:
>
>> 99: # SYSROOT_LDFLAGS the linker flags for using the specific sysroot
>> 100: # OPTIMIZATION sets optimization level to NONE, LOW, HIGH, HIGHEST, HIGHEST_JVM, SIZE
>> 101: # LINK_TIME_OPTIMIZATION if set to true, it enables additionally link time optimization
>
> Suggestion:
>
> # LINK_TIME_OPTIMIZATION if set to true, enables link time optimization
I adjusted the comment.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27976#discussion_r2473462679
More information about the client-libs-dev
mailing list