- Update ./compiler-rt-adjust-paths.patch for clang19 pathing.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/deno?expand=0&rev=247
This commit is contained in:
parent
863b39d3b4
commit
c5ca76f817
@ -1,6 +1,7 @@
|
||||
--- a/v8-0.106.0/build/config/clang/BUILD.gn
|
||||
+++ b/v8-0.106.0/build/config/clang/BUILD.gn
|
||||
@@ -192,12 +192,15 @@ template("clang_lib") {
|
||||
diff -ruN v8-0.106.0.orig/build/config/clang/BUILD.gn v8-0.106.0/build/config/clang/BUILD.gn
|
||||
--- a/v8-0.106.0.orig/build/config/clang/BUILD.gn 2024-11-10 19:22:12.986627534 +0800
|
||||
+++ b/v8-0.106.0/build/config/clang/BUILD.gn 2024-11-10 19:26:08.207250856 +0800
|
||||
@@ -192,12 +192,15 @@
|
||||
} else if (is_linux || is_chromeos) {
|
||||
if (current_cpu == "x64") {
|
||||
_dir = "x86_64-unknown-linux-gnu"
|
||||
@ -16,15 +17,17 @@
|
||||
} else {
|
||||
assert(false) # Unhandled cpu type
|
||||
}
|
||||
@@ -228,6 +231,11 @@ template("clang_lib") {
|
||||
@@ -228,7 +231,12 @@
|
||||
assert(false) # Unhandled target platform
|
||||
}
|
||||
|
||||
- _clang_lib_dir = "$clang_base_path/lib/clang/$clang_version/lib"
|
||||
+ # Bit of a hack to make this find builtins from compiler-rt >= 16
|
||||
+ if (is_linux || is_chromeos) {
|
||||
+ _dir = "linux"
|
||||
+ }
|
||||
+
|
||||
_clang_lib_dir = "$clang_base_path/lib/clang/$clang_version/lib"
|
||||
+ _clang_lib_dir = "$clang_base_path/lib64/clang/$clang_version/lib/linux"
|
||||
_lib_file = "${_prefix}clang_rt.${_libname}${_suffix}.${_ext}"
|
||||
libs = [ "$_clang_lib_dir/$_dir/$_lib_file" ]
|
||||
}
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 10 11:26:41 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
||||
|
||||
- Update ./compiler-rt-adjust-paths.patch for clang19 pathing.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 10 10:33:10 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user