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

ndk-build: Invoke clang directly instead of through wrapper scripts #306

Merged
merged 1 commit into from
Jul 4, 2022

Commits on Jul 4, 2022

  1. ndk-build: Invoke clang directly instead of through wrapper scripts

    The NDK's wrapper scripts for `clang`/`clang++` currently only, and will
    only ever pass `--target` to the compiler.  That is something we can do
    ourselves, especially now that we're already updating `RUSTFLAGS`
    anyway.
    
    [Upstream even clarified] that it is recommended to pass `--target`
    yourself instead of incurring extra overhead while going through the
    wrapper scripts (especially costly on Windows), further guaranteeing
    that we won't miss out on any flags possibly being added to the wrapper
    scripts in the future.
    
    [Upstream even clarified]: https://r.android.com/2134712
    MarijnS95 committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    bc6eb22 View commit details
    Browse the repository at this point in the history