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-02 03:27:56 +0100
commit8668335711fa13cec276552d75bfbb4285c7edb0 (patch)
tree1f021fa4358dd80bdcc75454379397c148c0f03e
parent5121b9a41d671dbaf7350c349d246793d8d8a4e2 (diff)
downloadcmake-8668335711fa13cec276552d75bfbb4285c7edb0.zip
cmake-8668335711fa13cec276552d75bfbb4285c7edb0.tar.gz
Remove -fvisibility-inlines-hidden from CMAKE_C_FLAGS
because this is only valid for C++. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--modules/TDEMacros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake
index 9263d24..13fa54a 100644
--- a/modules/TDEMacros.cmake
+++ b/modules/TDEMacros.cmake
@@ -1930,7 +1930,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( )