diff --git a/adapter/uhdf2/hdi.gni b/adapter/uhdf2/hdi.gni index ab1906ce3c9d673b78e1816715ec85865ec5b37a..cb1d4bbb32082bf37b724ba2092bc11b6e58458c 100644 --- a/adapter/uhdf2/hdi.gni +++ b/adapter/uhdf2/hdi.gni @@ -210,6 +210,10 @@ template("hdi") { if (defined(invoker.cflags_cc)) { cflags_cc = invoker.cflags_cc } + + if (defined(invoker.branch_protector_ret)) { + branch_protector_ret = invoker.branch_protector_ret + } } } @@ -275,6 +279,10 @@ template("hdi") { if (defined(invoker.cflags_cc)) { cflags_cc = invoker.cflags_cc } + + if (defined(invoker.branch_protector_ret)) { + branch_protector_ret = invoker.branch_protector_ret + } } } }