diff options
| author | Eli Schwartz <eschwartz93@gmail.com> | 2024-12-13 14:34:22 -0500 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2025-03-11 09:39:54 -0400 |
| commit | 8689c944515d4401b1bc4dbc75910288aed006c5 (patch) | |
| tree | 17cfc63fd592b2a346e83b4b886e6462943863f1 /docs/markdown | |
| parent | b19f6701025e37ca52e78eae7075cdc5a626f0ab (diff) | |
| download | meson-8689c944515d4401b1bc4dbc75910288aed006c5.tar.gz | |
linkers: revert a binutils bug workaround, sort of
More specifically, the bug had been fixed shortly before we implemented
this workaround. It's documented as only necessary for the binutils
brand specifically, and was fixed upstream in 2.28. We can avoid
producing these arguments at all on newer (post-2016) versions of
binutils, so gate this behind a version check.
This can significantly reduce the size of compiler command lines in some
cases, as it encodes the full build directory. It also helps that one
person who decides to put commas into their build directory name (which
`-Wl,...` interprets as multiple arguments, rather than a single
directory string).
Bug: https://github.com/mesonbuild/meson/pull/1898
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=20535
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=16936
Diffstat (limited to 'docs/markdown')
0 files changed, 0 insertions, 0 deletions
