зеркало из https://github.com/microsoft/CCF.git
Daily fix - export symbols in SAN build (#3458)
This commit is contained in:
Родитель
ffd5124633
Коммит
b9cf84f679
|
@ -1 +1 @@
|
|||
quotidian wren
|
||||
quotidian when?
|
||||
|
|
|
@ -186,13 +186,14 @@ function(add_ccf_app name)
|
|||
)
|
||||
|
||||
if(NOT SAN)
|
||||
target_link_options(
|
||||
${virt_name}
|
||||
PRIVATE
|
||||
LINKER:--no-undefined,--undefined=enclave_create_node,--undefined=enclave_run
|
||||
)
|
||||
target_link_options(${virt_name} PRIVATE LINKER:--no-undefined)
|
||||
endif()
|
||||
|
||||
target_link_options(
|
||||
${virt_name} PRIVATE
|
||||
LINKER:--undefined=enclave_create_node,--undefined=enclave_run
|
||||
)
|
||||
|
||||
set_property(TARGET ${virt_name} PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
add_san(${virt_name})
|
||||
|
|
Загрузка…
Ссылка в новой задаче