Attempt to fix ROOT-7744 by hiding all the LLVM/clang symbols present in libCling.so. The cling symbols are left unhidden.

This commit is contained in:
Pere Mato 2015-10-30 17:02:22 +01:00 committed by sftnight
parent 81fef9a7b4
commit 1d1a9c185f

View File

@ -85,6 +85,8 @@ if (LLVM_COMPILER_IS_GCC_COMPATIBLE)
endif()
endif ()
string(REPLACE "-fvisibility=hidden" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
# The package needs to be compiler without RTTI information
if(MSVC)
add_definitions(/GR-)