[all-commits] [llvm/llvm-project] 1426ac: [gn build] Fix COMPILER_RT_HAS_* defines for libcl...

Nico Weber via All-commits all-commits at lists.llvm.org
Wed Sep 2 11:30:21 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1426ac0482951d4cb98f84ab9fc89c745f95602e
      https://github.com/llvm/llvm-project/commit/1426ac0482951d4cb98f84ab9fc89c745f95602e
  Author: Nico Weber <thakis at chromium.org>
  Date:   2020-09-02 (Wed, 02 Sep 2020)

  Changed paths:
    M llvm/utils/gn/secondary/compiler-rt/lib/profile/BUILD.gn

  Log Message:
  -----------
  [gn build] Fix COMPILER_RT_HAS_* defines for libclang_rt.profile

The cmake build uses COMPILER_RT_TARGET_HAS_* in the CMakeLists.txt
but then translates it to -DCOMPILER_RT_HAS_* flags which the
c++ code checks for. So we need to define the latter, not the former.




More information about the All-commits mailing list