[all-commits] [llvm/llvm-project] eef8b7: gn build: Unbreak Android cross-compilation.

pcc via All-commits all-commits at lists.llvm.org
Fri Mar 19 16:28:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eef8b74ef5efd5265ad35c8d6ebdbfbe43e81bfd
      https://github.com/llvm/llvm-project/commit/eef8b74ef5efd5265ad35c8d6ebdbfbe43e81bfd
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2021-03-19 (Fri, 19 Mar 2021)

  Changed paths:
    M llvm/utils/gn/build/toolchain/target_flags.gni

  Log Message:
  -----------
  gn build: Unbreak Android cross-compilation.

- D96404 defaulted to libunwind which isn't provided by NDK r21
  (or r22), so specify -rtlib=libgcc on non-arm32.
- D97993 means that we need to use --gcc-toolchain instead of -B
  to let the driver find libgcc.




More information about the All-commits mailing list