[all-commits] [llvm/llvm-project] 775a29: [Driver] Gnu.cpp: remove unneeded -L detection for...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Mar 20 20:13:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 775a294820caefdce4e60603eaac0a071dd72765
      https://github.com/llvm/llvm-project/commit/775a294820caefdce4e60603eaac0a071dd72765
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-03-20 (Sat, 20 Mar 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/Linux.cpp

  Log Message:
  -----------
  [Driver] Gnu.cpp: remove unneeded -L detection for libc++

If clang is installed in the system, the other -L suffice;
otherwise $ccc_install_dir/../lib below suffices.


  Commit: 0ad0c476efdbc6b8e933edc32e6f943ed3a33b0d
      https://github.com/llvm/llvm-project/commit/0ad0c476efdbc6b8e933edc32e6f943ed3a33b0d
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-03-20 (Sat, 20 Mar 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/Gnu.cpp
    M clang/test/Driver/linux-ld.c

  Log Message:
  -----------
  [Driver] Gnu.cpp: remove unneeded -L detection hack for -mx32

Removing the hack actually improves our compatibility with gcc -mx32.


Compare: https://github.com/llvm/llvm-project/compare/06d6b1471eb8...0ad0c476efdb


More information about the All-commits mailing list