4 Commits

Author SHA256 Message Date
Soc Virnyl Estela
e0ad1b3909 fix: replace single quote to double quote in compiler-rt-adjust-paths.patch
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-06-26 14:52:27 +08:00
f7a036249b Merge pull request 'patch: update compiler-rt-adjust-paths.patch' (#2) from mine into factory
Reviewed-on: #2
2025-06-26 08:50:37 +02:00
Soc Virnyl Estela
27e652c4a2 patch: update compiler-rt-adjust-paths.patch
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-06-26 14:48:26 +08:00
90956279f8 Merge pull request 'devel' (#1) from devel into factory
Reviewed-on: #1
2025-05-22 05:28:21 +02:00

View File

@@ -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" ]