summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-12-02 03:27:56 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-12-08 17:03:07 +0100
commit5f81a57938eebd1d7dfb77b284769194c1210c13 (patch)
treed314eee6d348b4d440af0493f192a7fbc68d9d74
parent26ef5dbcaf478ec7e646abb4d4b6c44cda6caecc (diff)
downloadcmake-v3.5.13-sru.tar.gz
cmake-v3.5.13-sru.zip
Remove -fvisibility-inlines-hidden from CMAKE_C_FLAGSv3.5.13-sru
because this is only valid for C++. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 8668335711fa13cec276552d75bfbb4285c7edb0)
-rw-r--r--modules/TDEMacros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake
index 45dfeef..53ac693 100644
--- a/modules/TDEMacros.cmake
+++ b/modules/TDEMacros.cmake
@@ -1780,7 +1780,7 @@ macro( tde_setup_gcc_visibility )
endif( TDE_FOUND )
set( __KDE_HAVE_GCC_VISIBILITY 1 )
- set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden")
+ set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden")
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden")
endif( )
endmacro( )