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

Enforce -mtune=core2 and -mtune=yonah on macOS #245

Merged
merged 1 commit into from
Feb 9, 2022

Commits on Feb 9, 2022

  1. Enforce -march=core2 and -march=yonah on macOS

    I've used the same cpu which is used by Rust: `core2` for x86_64[1] and
    `yonah` for i686[2]. I also used `mtine` instead of `mcpu` because it
    was deprecated at gcc since version 5[3].
    
    It closes thepowersgang#214
    
    I also added missed `i686-apple-darwin` target.
    
    Footnotes:
    [1]  https://github.com/rust-lang/rust/blob/1.54.0/compiler/rustc_target/src/spec/x86_64_apple_darwin.rs
    [2]  https://github.com/rust-lang/rust/blob/1.54.0/compiler/rustc_target/src/spec/i686_apple_darwin.rs
    [3]  gcc-mirror/gcc@9d913bb
    catap committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    fe6dbef View commit details
    Browse the repository at this point in the history