[clang] [Fuchsia] Build with -fvisibility=default (PR #67067)

Petr Hosek via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 21 23:55:36 PDT 2023


================
@@ -52,6 +52,7 @@ set(ENABLE_LINKER_BUILD_ID ON CACHE BOOL "")
 set(ENABLE_X86_RELAX_RELOCATIONS ON CACHE BOOL "")
 
 set(CMAKE_BUILD_TYPE Release CACHE STRING "")
+set(CMAKE_CXX_VISIBILITY_PRESET default CACHE STRING "")
----------------
petrhosek wrote:

Should we also set `CMAKE_C_VISIBILITY_PRESET` to `default` for consistency?

https://github.com/llvm/llvm-project/pull/67067


More information about the cfe-commits mailing list