Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer -ar to -gcc-ar #741

Merged
merged 1 commit into from Oct 31, 2022
Merged

Prefer -ar to -gcc-ar #741

merged 1 commit into from Oct 31, 2022

Commits on Oct 30, 2022

  1. Prefer -ar to -gcc-ar

    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 rust-lang#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`.
    nagisa committed Oct 30, 2022
    Configuration menu
    Copy the full SHA
    deac068 View commit details
    Browse the repository at this point in the history