From ad4a6e9d8d3b505e25119db4e754f106e2b87396 Mon Sep 17 00:00:00 2001 From: wylyw78 Date: Wed, 12 Jun 2024 11:46:11 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8DLinux=20arm=20host=20openharm?= =?UTF-8?q?ony=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wylyw78 --- BUILD.gn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index fd0df91..9d6fb40 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -133,7 +133,7 @@ if (defined(ohos_lite)) { } group("syscap_tool_bin_linux") { - deps = [ ":syscap_tool_bin(//build/toolchain/linux:clang_x64)" ] + deps = [ ":syscap_tool_bin(//build/toolchain/linux:clang_${host_cpu})" ] } build_ext_component("generate_pcid") { @@ -142,9 +142,9 @@ build_ext_component("generate_pcid") { exec_path = rebase_path(root_out_dir) preload_path = rebase_path(preloader_output_dir) if (defined(ohos_lite)) { - cmd = "${exec_path}/clang_x64/syscap_tool" + cmd = "${exec_path}/clang_${host_cpu}/syscap_tool" } else { - cmd = "${exec_path}/clang_x64/developtools/syscap_codec/syscap_tool" + cmd = "${exec_path}/clang_${host_cpu}/developtools/syscap_codec/syscap_tool" } command = "chmod 777 $cmd" command += -- Gitee