diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-12-02 03:27:56 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-12-08 17:03:04 +0100 |
commit | c51d14850ff2ed8051e840db9df1698f84af4216 (patch) | |
tree | 214ff0db40bd58ced819898dd02e68feb9f90ddb | |
parent | 6853feb7604a8dc53e3a6b224ef86c3252b4abd5 (diff) | |
download | tde-cmake-c51d14850ff2ed8051e840db9df1698f84af4216.tar.gz tde-cmake-c51d14850ff2ed8051e840db9df1698f84af4216.zip |
Remove -fvisibility-inlines-hidden from CMAKE_C_FLAGSr14.0.7
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.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake index 707e080..c65d26f 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( ) |