1. 04 3月, 2022 1 次提交
    • J
      bootstrap: correct reading of flags for llvm · 9c05f0b7
      Jon Gjengset 提交于
      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
      
      Note that this also necessitated an update to compiletest to treat
      CXXFLAGS separately from CFLAGS.
      9c05f0b7
  2. 03 3月, 2022 37 次提交
  3. 02 3月, 2022 2 次提交