diff options
author | Petr Hosek <phosek@chromium.org> | 2018-10-30 19:19:47 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2018-10-30 19:19:47 +0000 |
commit | 98b45bc391b72b4372fffe1c15b66802cac71ebd (patch) | |
tree | 1a14b90d00e8df334971957ba531aa7136d0b290 /lib/builtins | |
parent | 376be794541b152ff494c39dca5be96c63bc7629 (diff) | |
download | compiler-rt-98b45bc391b72b4372fffe1c15b66802cac71ebd.tar.gz |
[CMake] Check -ffreestanding as C not C++ flag
When -ffreestanding is used, main() isn't considered special and
when compiled as C++ code it'll get mangled which makes the
compilation fail since main() will be undefined so this check will
never succeed.
Differential Revision: https://reviews.llvm.org/D49332
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345632 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins')
0 files changed, 0 insertions, 0 deletions