From ee49b59b6e2bc36808b8670c21dd50a8354a40a7 Mon Sep 17 00:00:00 2001 From: ZhuGangQiang Date: Thu, 22 Aug 2024 21:14:50 +0800 Subject: [PATCH] add compile options Signed-off-by: ZhuGangQiang --- frameworks/bootanimation/BUILD.gn | 2 ++ frameworks/bootanimation/utils/BUILD.gn | 2 ++ 2 files changed, 4 insertions(+) diff --git a/frameworks/bootanimation/BUILD.gn b/frameworks/bootanimation/BUILD.gn index cc0891bdc1..cec668adf3 100644 --- a/frameworks/bootanimation/BUILD.gn +++ b/frameworks/bootanimation/BUILD.gn @@ -100,6 +100,8 @@ ohos_executable("bootanimation") { part_name = "graphic_2d" subsystem_name = "graphic" + + branch_protector_ret = "pac_ret" } ## Build bootanimation }}} diff --git a/frameworks/bootanimation/utils/BUILD.gn b/frameworks/bootanimation/utils/BUILD.gn index 4e5513aea9..d10288b458 100644 --- a/frameworks/bootanimation/utils/BUILD.gn +++ b/frameworks/bootanimation/utils/BUILD.gn @@ -39,5 +39,7 @@ ohos_shared_library("libbootanimation_utils") { ] part_name = "graphic_2d" subsystem_name = "graphic" + + branch_protector_ret = "pac_ret" } ## Build libbootanimation_utils.so }}}