0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2025-01-07 06:47:15 -05:00
This commit is contained in:
Divy Srivastava 2024-02-28 18:19:29 +05:30 committed by Ronny Chan
parent 14f218a60b
commit 95a18e1496
No known key found for this signature in database
GPG key ID: 438610BEA8DC2E2C

View file

@ -242,9 +242,9 @@ fn build_v8(is_asan: bool) {
gn_args.push("is_clang=false".to_string());
gn_args.push("treat_warnings_as_errors=false".to_string());
gn_args.push("line_tables_only=false".to_string());
gn_args.push(format!("use_gold=false"));
gn_args.push(format!("use_sysroot=false"));
gn_args.push(format!("use_lld=false"));
gn_args.push("use_gold=false".to_string());
gn_args.push("use_sysroot=false".to_string());
gn_args.push("use_lld=false".to_string());
gn_args.push("v8_static_library=true".to_string());
gn_args.push("clang_use_chrome_plugins=false".to_string());
gn_args.push(format!(
@ -256,7 +256,7 @@ fn build_v8(is_asan: bool) {
let target = std::env::var("TARGET").unwrap();
env::set_var("TOOLCHAIN", toolchain.join("bin").display().to_string());
env::set_var(
format!("CC_{}", target.replace("-", "_")),
format!("CC_{}", target.replace('-', "_")),
format!(
"{}/bin/{}-cc",
toolchain.display(),