[PATCH] D45997: [CMake] Pass additional CMake flags in Fuchsia cache files
Kostya Kortchinsky via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 25 17:26:10 PDT 2018
cryptoad added inline comments.
================
Comment at: clang/cmake/caches/Fuchsia-stage2.cmake:89
set(RUNTIMES_${target}-fuchsia_CMAKE_SYSROOT ${FUCHSIA_${target}_SYSROOT} CACHE PATH "")
- set(RUNTIMES_${target}-fuchsia_CMAKE_SYSTEM_NAME Fuchsia CACHE STRING "")
- set(RUNTIMES_${target}-fuchsia_UNIX 1 CACHE BOOL "")
+ set(RUNTIMES_${target}-fuchsia_COMPILER_RT_ENABLE_WERROR ON CACHE BOOL "")
+ set(RUNTIMES_${target}-fuchsia_COMPILER_RT_TEST_COMPILER_CFLAGS ${FUCHSIA_${target}_C_FLAGS} CACHE PATH "")
----------------
This should probably go away for now if we want to have D46079.
Then I can go through the remaining warnings if that's important to have it and fix them.
Repository:
rC Clang
https://reviews.llvm.org/D45997
More information about the cfe-commits
mailing list