From e76fbe53e152363ed8eb8318bc67ee0636597a5b Mon Sep 17 00:00:00 2001 From: wangyikai Date: Thu, 5 Sep 2024 17:25:33 +0800 Subject: [PATCH] =?UTF-8?q?cherry=20pick=20ada7139=20from=20https://gitee.?= =?UTF-8?q?com/wangykk/drivers=5Fhdf=5Fcore/pulls/2268=20=E3=80=90HDF=5FCO?= =?UTF-8?q?RE=E3=80=91hdi=E6=A8=A1=E6=9D=BF=E4=B8=BA=E7=94=9F=E6=88=90prox?= =?UTF-8?q?y=E5=92=8Cstub=E6=B7=BB=E5=8A=A0=20PAC=20=E5=BC=80=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangyikai --- adapter/uhdf2/hdi.gni | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/adapter/uhdf2/hdi.gni b/adapter/uhdf2/hdi.gni index ab1906ce3..cb1d4bbb3 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 + } } } } -- Gitee