diff --git a/adapter/uhdf2/hdi.gni b/adapter/uhdf2/hdi.gni index ab1906ce3c9d673b78e1816715ec85865ec5b37a..9991950bf5790f50f83a3518593bf1e8f1f574d0 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 + } } } }