diff --git a/adapter/uhdf2/hdi.gni b/adapter/uhdf2/hdi.gni index 043da45a523e28abd578a4d04d15e3aeeb1e1ead..882ba74141cfab7b7cad5c12aeb82565d4bfff0c 100644 --- a/adapter/uhdf2/hdi.gni +++ b/adapter/uhdf2/hdi.gni @@ -241,6 +241,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 + } } } @@ -306,6 +310,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 + } } } }