- Disable cross-compilation for aarch64 and arm:
* deno-v8-arm.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/deno?expand=0&rev=192
This commit is contained in:
parent
8172249bb6
commit
1214ccee99
21
deno-v8-arm.patch
Normal file
21
deno-v8-arm.patch
Normal file
@ -0,0 +1,21 @@
|
||||
--- ./vendor/v8/build.rs.orig 2024-06-27 14:26:40.281226961 +0200
|
||||
+++ ./vendor/v8/build.rs 2024-06-27 14:28:10.388618455 +0200
|
||||
@@ -200,16 +200,12 @@ fn build_v8(is_asan: bool) {
|
||||
// cross-compilation setup
|
||||
if target_arch == "aarch64" {
|
||||
gn_args.push(r#"target_cpu="arm64""#.to_string());
|
||||
- gn_args.push("use_sysroot=true".to_string());
|
||||
- maybe_install_sysroot("arm64");
|
||||
- maybe_install_sysroot("amd64");
|
||||
+ gn_args.push("use_sysroot=false".to_string());
|
||||
}
|
||||
if target_arch == "arm" {
|
||||
gn_args.push(r#"target_cpu="arm""#.to_string());
|
||||
gn_args.push(r#"v8_target_cpu="arm""#.to_string());
|
||||
- gn_args.push("use_sysroot=true".to_string());
|
||||
- maybe_install_sysroot("i386");
|
||||
- maybe_install_sysroot("arm");
|
||||
+ gn_args.push("use_sysroot=false".to_string());
|
||||
}
|
||||
|
||||
let target_triple = env::var("TARGET").unwrap();
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 27 14:33:49 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Disable cross-compilation for aarch64 and arm:
|
||||
* deno-v8-arm.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 19 18:52:29 UTC 2024 - Avindra Goolcharan <avindra@opensuse.org>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user