Landing: 194b23b7ebe1
Project / Subsystem
gcc / build
Date
2026-07-12
Author
Manuel Jacob
Commit
194b23b7ebe12015e2aa2989ada73f4e1c682c84
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- build
- patch_id
- —
- commit_hash
- 194b23b7ebe12015e2aa2989ada73f4e1c682c84
- source_type
- github
- headline
- Preserve all *_FOR_TARGET environment variables during build configuration.
- tldr
- Build configuration now consistently preserves existing *_FOR_TARGET environment variables.
- author
- Manuel Jacob
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • build
- • configure
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-12T00:00:00.000Z
Previously, some *_FOR_TARGET environment variables were not consistently preserved during the build configuration process, especially when the build and host platforms differed. This change ensures that any user-set *_FOR_TARGET variables (like CC_FOR_TARGET or AS_FOR_TARGET) take precedence over cached or automatically detected tool settings, preventing unexpected overwrites and ensuring build consistency.