chore: turn off -Bsymbolic-functions in sanitized build
This commit is contained in:
parent
99b40e33f5
commit
6ea8b0f4b6
1 changed files with 1 additions and 1 deletions
|
|
@ -305,7 +305,7 @@ endif()
|
|||
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
set(LEANC_SHARED_LINKER_FLAGS "${LEANC_SHARED_LINKER_FLAGS} -fPIC")
|
||||
if(NOT SANITIZED)
|
||||
if(BSYMBOLIC_FUNCTIONS)
|
||||
set(LEANC_SHARED_LINKER_FLAGS "${LEANC_SHARED_LINKER_FLAGS} -Wl,-Bsymbolic-functions")
|
||||
endif()
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -ftls-model=initial-exec")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue