diff --git a/BUILD.gn b/BUILD.gn index 3011439fe1db7a168b70cc6f6abbfbdedb1b0de4..9f4661b5cac58f5ba940c65517612bbc5476cfae 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -38,6 +38,7 @@ config("cxx_cppdeps_header_config") { } ohos_static_library("cxx_cppdeps") { + stack_protector_ret = true part_name = "build_framework" subsystem_name = "build" defines = [ "RUST_CXX_NO_EXCEPTIONS" ]