[all-commits] [llvm/llvm-project] 75f019: [Driver] Remove confusing *-linux-android detectio...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Sep 27 13:28:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75f0194d3d252388635325a78490f5c0f49c4ca6
      https://github.com/llvm/llvm-project/commit/75f0194d3d252388635325a78490f5c0f49c4ca6
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-09-27 (Mon, 27 Sep 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/Gnu.cpp
    R clang/test/Driver/android-gcc-toolchain.c

  Log Message:
  -----------
  [Driver] Remove confusing *-linux-android detection with non-android --target=

These values allow, for example, `--target=aarch64` and
`--target=aarch64-linux-gnu` to detect `aarch64-linux-android`. This is
confusing. Users should specify `--target=aarch64-linux-android` to get Android GCC
installation.

Reverts D53463.

Reviewed By: nickdesaulniers, danalbert

Differential Revision: https://reviews.llvm.org/D110379




More information about the All-commits mailing list