diff --git a/BUILD.gn b/BUILD.gn index 99493462a51cf03e999cd063648eef2dc5dd10d9..53143a4a3957d345731b1b13d2fd02de4e6c2819 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022 Huawei Device Co., Ltd. +# Copyright (c) 2022-2024 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -18,6 +18,7 @@ config("elfio_public_config") { } ohos_shared_library("elfio") { + branch_protector_ret = "pac_ret" sources = [ "./c_wrapper/elfio_c_wrapper.cpp", "//third_party/elfio/elfio/elfio_demo.cpp",