Commit ad1f00d
Prefer
As observed in cross-rs/cross#1100, in some
situations `*-gcc-ar` might actually be just broken.
I believe this is most likely just a plain bug in gcc (failing to
consider `--disable-lto` configuration option somewhere in their build
setup,) but for the time being `*-ar` tends to avoid this problem
altogether.
Code added in #736 appears to be
preferring `*-gcc-ar`, but no strong rationale is given to prefer one
over the other. `*-gcc-ar` being outright broken sometimes seems like a
rationale strong enough to continue preferring binutils’ `ar`.-ar to -gcc-ar
1 parent f914e8a commit ad1f00d
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2623 | 2623 | | |
2624 | 2624 | | |
2625 | 2625 | | |
2626 | | - | |
| 2626 | + | |
| 2627 | + | |
| 2628 | + | |
| 2629 | + | |
2627 | 2630 | | |
2628 | | - | |
| 2631 | + | |
2629 | 2632 | | |
2630 | 2633 | | |
2631 | 2634 | | |
| |||
0 commit comments