Landing: 623baa98b58c
Project / Subsystem
gcc / build
Date
2026-07-01
Author
Rainer Orth
Commit
623baa98b58c7aa5a9b4eba701a86cfe0e4dcd0a
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- build
- patch_id
- —
- commit_hash
- 623baa98b58c7aa5a9b4eba701a86cfe0e4dcd0a
- source_type
- github
- headline
- Refactor linker configuration to use ld_flavor instead of gnu_ld variable
- tldr
- Replaces the `gnu_ld` variable with `ld_flavor` in linker configuration for better accuracy and consistency.
- author
- Rainer Orth
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • build
- • linker
- • configure
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-01T00:00:00.000Z
This commit refactors GCC’s build system to replace the gnu_ld variable with a more general ld_flavor check. This change affects how various configurations detect and handle linker properties, ensuring more accurate detection of linker types and capabilities, particularly for options like --version-script and -soname by checking ld --help output.