forked from javascript/rusty_v8
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
e0ad1b3909 | ||
f7a036249b | |||
|
27e652c4a2 | ||
90956279f8 |
@@ -1,8 +1,7 @@
|
|||||||
diff --git a/build/config/clang/BUILD.gn b/build/config/clang/BUILD.gn
|
diff -ruN /tmp/rusty_v8-v137.1.0/build/config/clang/BUILD.gn rusty_v8-v137.1.0/build/config/clang/BUILD.gn
|
||||||
index fcca59b0f..fdf14f306 100644
|
--- /tmp/rusty_v8-v137.1.0/build/config/clang/BUILD.gn 1970-01-01 08:00:01.000000000 +0800
|
||||||
--- a/build/config/clang/BUILD.gn
|
+++ rusty_v8-v137.1.0/build/config/clang/BUILD.gn 2025-06-26 14:47:20.638581652 +0800
|
||||||
+++ b/build/config/clang/BUILD.gn
|
@@ -201,12 +201,15 @@
|
||||||
@@ -192,12 +192,15 @@ template("clang_lib") {
|
|
||||||
} else if (is_linux || is_chromeos) {
|
} else if (is_linux || is_chromeos) {
|
||||||
if (current_cpu == "x64") {
|
if (current_cpu == "x64") {
|
||||||
_dir = "x86_64-unknown-linux-gnu"
|
_dir = "x86_64-unknown-linux-gnu"
|
||||||
@@ -18,15 +17,14 @@ index fcca59b0f..fdf14f306 100644
|
|||||||
} else {
|
} else {
|
||||||
assert(false) # Unhandled cpu type
|
assert(false) # Unhandled cpu type
|
||||||
}
|
}
|
||||||
@@ -228,6 +231,11 @@ template("clang_lib") {
|
@@ -237,6 +240,10 @@
|
||||||
assert(false) # Unhandled target platform
|
assert(false) # Unhandled target platform
|
||||||
}
|
}
|
||||||
|
|
||||||
+ # Bit of a hack to make this find builtins from compiler-rt >= 16
|
|
||||||
+ if (is_linux || is_chromeos) {
|
+ if (is_linux || is_chromeos) {
|
||||||
+ _dir = "linux"
|
+ _dir = "linux"
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
_clang_lib_dir = "$clang_base_path/lib/clang/$clang_version/lib"
|
|
||||||
_lib_file = "${_prefix}clang_rt.${_libname}${_suffix}.${_ext}"
|
_lib_file = "${_prefix}clang_rt.${_libname}${_suffix}.${_ext}"
|
||||||
libs = [ "$_clang_lib_dir/$_dir/$_lib_file" ]
|
libs = [ "$_clang_lib_dir/$_dir/$_lib_file" ]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user