diff options
author | Slávek Banko <[email protected]> | 2019-12-02 03:27:56 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-12-02 03:27:56 +0100 |
commit | 8668335711fa13cec276552d75bfbb4285c7edb0 (patch) | |
tree | 1f021fa4358dd80bdcc75454379397c148c0f03e /modules/TDEMacros.cmake | |
parent | 5121b9a41d671dbaf7350c349d246793d8d8a4e2 (diff) | |
download | tde-cmake-8668335711fa13cec276552d75bfbb4285c7edb0.tar.gz tde-cmake-8668335711fa13cec276552d75bfbb4285c7edb0.zip |
Remove -fvisibility-inlines-hidden from CMAKE_C_FLAGS
because this is only valid for C++.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'modules/TDEMacros.cmake')
-rw-r--r-- | modules/TDEMacros.cmake | 2 |
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( ) |