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

Use -target instead of -arch in compiling commands in Apple crosstool #13466

Commits on Feb 24, 2022

  1. Use -target instead of -arch in compiling commands in Apple

    crosstool
    
    This allows using this crosstool file for cross-compiling from non-Apple
    host platforms. On macOS, `-arch <arch>`  and
    `-m<platform>-version-min=<version_min>` will be expanded to `-triple
    <arch>-apple-<platform><version_min>` in the frontend invocation, but on
    a Linux host, without `-target`, the expanded triple flags would be
    `-triple <arch>-pc-linux-gnu`.
    thii committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    bdcdfac View commit details
    Browse the repository at this point in the history