代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/dsoftbus 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
diff -Naur build-OpenHarmony-v3.0.2-LTS/config/sanitizers/BUILD.gn build-OpenHarmony-v3.0.2-LTS-path2/config/sanitizers/BUILD.gn
--- build-OpenHarmony-v3.0.2-LTS/config/sanitizers/BUILD.gn 2022-02-26 17:17:05.000000000 +0800
+++ build-OpenHarmony-v3.0.2-LTS-path2/config/sanitizers/BUILD.gn 2022-07-14 11:50:09.927655500 +0800
@@ -678,6 +678,8 @@
}
}
+ print(_clang_rt_libs_dir)
+
foreach(rt_lib, _dso_names) {
_clang_rt_dso_paths += [ "$_clang_rt_libs_dir/${rt_lib}" ]
}
diff -Naur build-OpenHarmony-v3.0.2-LTS/loader/preloader/platforms.template build-OpenHarmony-v3.0.2-LTS-path2/loader/preloader/platforms.template
--- build-OpenHarmony-v3.0.2-LTS/loader/preloader/platforms.template 2022-07-14 11:49:08.352875000 +0800
+++ build-OpenHarmony-v3.0.2-LTS-path2/loader/preloader/platforms.template 2022-07-14 11:06:07.951920300 +0800
@@ -12,6 +12,12 @@
"target_cpu": "arm",
"toolchain": "//build/toolchain/linux:arm",
"parts_config": "./parts.json"
+ },
+ {
+ "target_os": "ohos",
+ "target_cpu": "x86_64",
+ "toolchain": "//build/toolchain/linux:x86_64",
+ "parts_config": "./parts.json"
}
]
}
diff -Naur build-OpenHarmony-v3.0.2-LTS/toolchain/linux/BUILD.gn build-OpenHarmony-v3.0.2-LTS-path2/toolchain/linux/BUILD.gn
--- build-OpenHarmony-v3.0.2-LTS/toolchain/linux/BUILD.gn 2022-07-14 11:49:08.511178900 +0800
+++ build-OpenHarmony-v3.0.2-LTS-path2/toolchain/linux/BUILD.gn 2022-07-14 11:10:51.681272300 +0800
@@ -25,6 +25,8 @@
tool_path = rebase_path("//toolchain/bin", root_build_dir)
toolprefix = "${tool_path}/aarch64-openeuler-linux-gnu-"
+ toolprefix = ""
+
cc = "${toolprefix}gcc"
cxx = "${toolprefix}g++"
@@ -45,6 +47,8 @@
tool_path = rebase_path("//toolchain/bin", root_build_dir)
toolprefix = "${tool_path}/arm-openeuler-linux-gnu-"
+ toolprefix = ""
+
cc = "${toolprefix}gcc"
cxx = "${toolprefix}g++"
@@ -120,4 +124,23 @@
current_os = "linux"
is_clang = false
}
+}
+
+gcc_toolchain("x86_64") {
+ cc = "gcc"
+ cxx = "g++"
+
+ readelf = "readelf"
+ nm = "nm"
+ ar = "ar"
+ ld = cxx
+
+ # Output linker map files for binary size analysis.
+ enable_linker_map = true
+
+ toolchain_args = {
+ current_cpu = "x86_64"
+ current_os = "linux"
+ is_clang = false
+ }
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。