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>
(cherry picked from commit 8668335711)
r14.0.x r14.0.7
Slávek Banko 5 years ago
parent 6853feb760
commit c51d14850f
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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( )

Loading…
Cancel
Save