diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-03-04 02:06:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-04 02:06:41 +0100 |
| commit | 958bd0268c307e91ec0fc93c8c4ed8a412008ab4 (patch) | |
| tree | 36f0927e932732e8bbce9cf4a7d2983ad6b5dad4 /compiler/rustc_codegen_llvm/src | |
| parent | aede21f42ff5f560062d041e53299f4513431a9d (diff) | |
| parent | 9c05f0b72c99cc91117282f7f267964824f187bf (diff) | |
| download | rust-958bd0268c307e91ec0fc93c8c4ed8a412008ab4.tar.gz rust-958bd0268c307e91ec0fc93c8c4ed8a412008ab4.zip | |
Rollup merge of #94466 - jonhoo:bootstrap-proper-env-flags, r=Mark-Simulacrum
bootstrap: correct reading of flags for llvm
First, this reverts the `CFLAGS`/`CXXFLAGS` of #93918. Those flags are
already read by `cc` and populated into `Build` earlier on in the
process. We shouldn't be overriding that based on `CFLAGS`, since `cc`
also respects overrides like `CFLAGS_{TARGET}` and `HOST_CFLAGS`, which
we want to take into account.
Second, this adds the same capability to specify target-specific
versions of `LDFLAGS` as we have through `cc` for the `C*` flags:
https://github.com/alexcrichton/cc-rs#external-configuration-via-environment-variables
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
