]> granicus.if.org Git - clang/commitdiff
[CMake] Use hidden visibility for static libc++ in Fuchsia
authorPetr Hosek <phosek@chromium.org>
Sun, 6 Jan 2019 08:23:56 +0000 (08:23 +0000)
committerPetr Hosek <phosek@chromium.org>
Sun, 6 Jan 2019 08:23:56 +0000 (08:23 +0000)
This is enables the use of libc++ in contexts such as device drivers.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350491 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/caches/Fuchsia-stage2.cmake

index 3d9b08da441010d5ba62cfffcb059d73df2c29d2..5dccd1f9fb8586b22791c68096c4a33ac8d43c6d 100644 (file)
@@ -119,6 +119,7 @@ if(FUCHSIA_SDK)
     set(RUNTIMES_${target}-fuchsia_LIBCXX_USE_COMPILER_RT ON CACHE BOOL "")
     set(RUNTIMES_${target}-fuchsia_LIBCXX_ENABLE_STATIC_ABI_LIBRARY ON CACHE BOOL "")
     set(RUNTIMES_${target}-fuchsia_LIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY OFF CACHE BOOL "")
+    set(RUNTIMES_${target}-fuchsia_LIBCXX_HERMETIC_STATIC_LIBRARY ON CACHE BOOL "")
     set(RUNTIMES_${target}-fuchsia_LIBCXX_ABI_VERSION 2 CACHE STRING "")
   endforeach()