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

Sergei Barannikov via All-commits all-commits at lists.llvm.org
Tue Mar 28 21:22:22 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4918d43763e8bdcdf9ad27f4eb536bf9aa4e3cf
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2023-03-29 (Wed, 29 Mar 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