36 lines
1.4 KiB
Diff
36 lines
1.4 KiB
Diff
From 7c6665977db9192e18f8c28ba33e02b4b548b0da Mon Sep 17 00:00:00 2001
|
|
From: s_c_c <shichuchao@huawei.com>
|
|
Date: Mon, 11 Mar 2024 16:01:57 +0800
|
|
Subject: [PATCH] feat for embedded comment out sysroot_hash
|
|
|
|
---
|
|
config/posix/BUILD.gn | 12 ++++++------
|
|
1 file changed, 6 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/config/posix/BUILD.gn b/config/posix/BUILD.gn
|
|
index 53fa7ac..9afcdae 100644
|
|
--- a/config/posix/BUILD.gn
|
|
+++ b/config/posix/BUILD.gn
|
|
@@ -88,12 +88,12 @@ config("runtime_library") {
|
|
# when turning the sysroot on or off. (defines are passed via the command
|
|
# line, and build system rebuilds things when their commandline
|
|
# changes). Nothing should ever read this define.
|
|
- sysroot_hash =
|
|
- exec_script("//build/linux/sysroot_scripts/install-sysroot.py",
|
|
- [ "--print-hash=$current_cpu" ],
|
|
- "trim string",
|
|
- [ "//build/linux/sysroot_scripts/sysroots.json" ])
|
|
- defines += [ "CR_SYSROOT_HASH=$sysroot_hash" ]
|
|
+ # sysroot_hash =
|
|
+ # exec_script("//build/linux/sysroot_scripts/install-sysroot.py",
|
|
+ # [ "--print-hash=$current_cpu" ],
|
|
+ # "trim string",
|
|
+ # [ "//build/linux/sysroot_scripts/sysroots.json" ])
|
|
+ # defines += [ "CR_SYSROOT_HASH=$sysroot_hash" ]
|
|
}
|
|
asmflags += sysroot_flags
|
|
|
|
--
|
|
2.20.1 (Apple Git-117)
|
|
|