diff --git a/qos/BUILD.gn b/qos/BUILD.gn index 0bb66046f005b46d23a4ab731d74b30e99c63dcd..c7906838423de1c3ebec18b4efa6b8cdf40989ae 100644 --- a/qos/BUILD.gn +++ b/qos/BUILD.gn @@ -23,6 +23,13 @@ config("qos_config") { } ohos_shared_library("qos") { + branch_protector_ret = "pac_ret" + sanitize = { + cfi = true + cfi_cross_dso = true + debug = false + } + public_configs = [ ":qos_config" ] sources = [ "../services/src/qos_interface.cpp",