[CMake][runtimes] Process common options in runtimes build
authorPetr Hosek <phosek@chromium.org>
Wed, 11 Apr 2018 05:18:03 +0000 (05:18 +0000)
committerPetr Hosek <phosek@chromium.org>
Wed, 11 Apr 2018 05:18:03 +0000 (05:18 +0000)
commit9b4035a85a9bb045a2ef4cda275b8545093a58fd
treeba654e028513a94399c8e0550208a5ac172013b4
parentdcdac965f1ce16e6d45949370c5b305e846d2f50
[CMake][runtimes] Process common options in runtimes build

This was removed in D39932 but turned out this is actually needed
because runtimes such as compiler-rt and libc++ rely on common options
processing for setting certain flags such as -ffunction-sections and
-fdata-sections.

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

llvm-svn: 329778
llvm/runtimes/CMakeLists.txt