[crt] Use -std=c11 for crtbegin.o/crtend.o
authorPetr Hosek <phosek@chromium.org>
Fri, 10 May 2019 19:23:56 +0000 (19:23 +0000)
committerPetr Hosek <phosek@chromium.org>
Fri, 10 May 2019 19:23:56 +0000 (19:23 +0000)
commitfc86c7fca313655c834066bde6b7d2b0402f580f
tree0d67e0f8c8a656a7e601c4250c3a866836326ecf
parent7598b71488d8775f913873e95a95b7539601d71a
[crt] Use -std=c11 for crtbegin.o/crtend.o

The source uses C11 syntax such as comments and some compilers print
warnings without specifying this flag.

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

llvm-svn: 360459
compiler-rt/cmake/config-ix.cmake
compiler-rt/lib/crt/CMakeLists.txt