[all-commits] [llvm/llvm-project] 32d05d: [libc][startup] set --target= for linker when cros...

Nick Desaulniers (paternity leave) via All-commits all-commits at lists.llvm.org
Fri Jun 21 13:30:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32d05db6e9a5650f87eedb5fe328fa9e1fcec76f
      https://github.com/llvm/llvm-project/commit/32d05db6e9a5650f87eedb5fe328fa9e1fcec76f
  Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
  Date:   2024-06-21 (Fri, 21 Jun 2024)

  Changed paths:
    M libc/startup/linux/CMakeLists.txt

  Log Message:
  -----------
  [libc][startup] set --target= for linker when cross compiling (#96342)

Otherwise the startup objects will fail to link since they were cross compiled,
but the linker is not informed of the intent to cross compile, which results in
linker errors when the host architecture does not match the target
architecture.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list