From 378ff130dc56535bcf6e30b8996b136055727e93 Mon Sep 17 00:00:00 2001 From: w30052974 Date: Wed, 18 Sep 2024 14:09:38 +0800 Subject: [PATCH] =?UTF-8?q?nnrt=205.0.1=E5=88=86=E6=94=AFbranch=5Fprotecto?= =?UTF-8?q?r=5Fret=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: w30052974 --- frameworks/native/neural_network_core/BUILD.gn | 1 + frameworks/native/neural_network_runtime/BUILD.gn | 1 + 2 files changed, 2 insertions(+) diff --git a/frameworks/native/neural_network_core/BUILD.gn b/frameworks/native/neural_network_core/BUILD.gn index bbfe81d..5d221b4 100644 --- a/frameworks/native/neural_network_core/BUILD.gn +++ b/frameworks/native/neural_network_core/BUILD.gn @@ -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" diff --git a/frameworks/native/neural_network_runtime/BUILD.gn b/frameworks/native/neural_network_runtime/BUILD.gn index 34b86af..3c15b11 100644 --- a/frameworks/native/neural_network_runtime/BUILD.gn +++ b/frameworks/native/neural_network_runtime/BUILD.gn @@ -167,6 +167,7 @@ ops_sources = [ ] ohos_shared_library("libneural_network_runtime") { + branch_protector_ret = "pac_ret" sources = nnrt_sources sources += ops_sources output_extension = "so" -- Gitee