Reland "[compiler-rt] Drop -Werror in compiler flag checks"
authorSergei Barannikov <barannikov88@gmail.com>
Sat, 1 Apr 2023 15:40:47 +0000 (18:40 +0300)
committerSergei Barannikov <barannikov88@gmail.com>
Mon, 3 Apr 2023 09:00:16 +0000 (12:00 +0300)
commitcc90ca6f0fb8e29c8a12d15c93abb9e3839a23ca
tree59c2e5fbf024194722c9b4accd46a0bb54fe168d
parent7657e50fefe0af9151f8bef0437cd1343f0a3220
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.
compiler-rt/cmake/Modules/CompilerRTUtils.cmake
compiler-rt/cmake/config-ix.cmake