RFR: 8375241: Simplify --with-native-debug-symbols-level option implementation [v2]
Julian Waters
jwaters at openjdk.org
Mon Jan 19 08:10:56 UTC 2026
On Mon, 19 Jan 2026 08:06:13 GMT, Julian Waters <jwaters at openjdk.org> wrote:
>> make/autoconf/flags-cflags.m4 line 85:
>>
>>> 83: ],
>>> 84: IF_NOT_GIVEN: [
>>> 85: NATIVE_DEBUG_SYMBOLS_LEVEL=""
>>
>> I would have thought this needs to be `-g`, so we pass `-g` when `--native-debug-symbols-level` is not specified?
>
> Good catch, I forgot about that, will revert.
Actually, on second thought, reverting the last commit will pass -g2 when the flag is not passed to configure, are you fine with that?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29214#discussion_r2703670840
More information about the build-dev
mailing list