[bug#78433] [PATCH] Search for gcc-ar

2025-05-14 Thread Sam James
Sam James writes: > GCC requires `ar` to have plugin support when using LTO. While the situation > has improved as many distributions install the GCC plugin to a location > that GNU Binutils can automatically find, this isn't required and isn't done > by default. > > By searching for `gcc-ar` fir

[bug#78433] [PATCH] Search for gcc-ar

2025-05-14 Thread Sam James
GCC requires `ar` to have plugin support when using LTO. While the situation has improved as many distributions install the GCC plugin to a location that GNU Binutils can automatically find, this isn't required and isn't done by default. By searching for `gcc-ar` first, we can make this case work