Browse Source

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>
master
Slávek Banko 1 month ago
parent
commit
8668335711
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/TDEMacros.cmake

+ 1
- 1
modules/TDEMacros.cmake View File

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