[all-commits] [llvm/llvm-project] cc90ca: Reland "[compiler-rt] Drop -Werror in compiler fla...

Sergei Barannikov via All-commits all-commits at lists.llvm.org
Mon Apr 3 02:01:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc90ca6f0fb8e29c8a12d15c93abb9e3839a23ca
      https://github.com/llvm/llvm-project/commit/cc90ca6f0fb8e29c8a12d15c93abb9e3839a23ca
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

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

  Log Message:
  -----------
  Reland "[compiler-rt] Drop -Werror in compiler flag checks"

-Werror is redundant because CMake not only checks the
exit status, but also parses the output of try_compile.
-Wformat-security is a special case, because specifying it
without -Wformat causes gcc to emit a warning in a format
not recognized by CMake, which makes the check pass.




More information about the All-commits mailing list