branch_protector_ret add

Signed-off-by: w30052974 <wangyifan94@huawei.com>
This commit is contained in:
w30052974 2024-09-04 09:13:37 +08:00
parent a12639e327
commit e3195c22ba
2 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@ nnrt_core_sources = [
]
ohos_shared_library("libneural_network_core") {
branch_protector_ret = "pac_ret"
sources = nnrt_core_sources
output_extension = "so"

View File

@ -164,6 +164,7 @@ ops_sources = [
]
ohos_shared_library("libneural_network_runtime") {
branch_protector_ret = "pac_ret"
sources = nnrt_sources
sources += ops_sources
output_extension = "so"