diff --git a/CMakeLists.txt b/CMakeLists.txt index d5098d5c46..3d0a8f131c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -313,7 +313,6 @@ function(common_compile_options TARGET) target_compile_options(${TARGET} PRIVATE -fno-exceptions -fno-rtti - -fvisibility-inlines-hidden ) if (${DAWN_ENABLE_MSAN}) diff --git a/src/tint/CMakeLists.txt b/src/tint/CMakeLists.txt index 5d77470d57..4ffaf946ad 100644 --- a/src/tint/CMakeLists.txt +++ b/src/tint/CMakeLists.txt @@ -648,9 +648,6 @@ target_link_libraries(tint_val tint_utils_io) add_library(libtint ${TINT_LIB_SRCS}) tint_default_compile_options(libtint) target_link_libraries(libtint tint_diagnostic_utils) -if (${COMPILER_IS_LIKE_GNU}) - target_compile_options(libtint PRIVATE -fvisibility=hidden) -endif() if (${TINT_SYMBOL_STORE_DEBUG_NAME}) target_compile_definitions(libtint PUBLIC "TINT_SYMBOL_STORE_DEBUG_NAME=1") endif()