[all-commits] [llvm/llvm-project] 88c744: [compiler-rt] Quote multiple warning flags in chec...

Sergei Barannikov via All-commits all-commits at lists.llvm.org
Sat Apr 1 05:31:22 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88c744e7dfaa9ce67dc2b30dea7713e054399d17
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2023-04-01 (Sat, 01 Apr 2023)

  Changed paths:
    M compiler-rt/cmake/config-ix.cmake

  Log Message:
  [compiler-rt] Quote multiple warning flags in check_cxx_compiler_flag invocation

Without this all checks fail because CMake passes the flags
like this:
`... -nodefaultlibs   -D-Warray-bounds -Werror -std=c++17 ...`
Note the `-D` before the `-W`.

Reviewed By: ahatanak

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

More information about the All-commits mailing list