From 5887ff9336fce7cc3803ae31b29e18ddd04c1214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Tue, 31 Dec 2024 15:42:25 +0100 Subject: [PATCH] WIP --- src/bootstrap/src/core/build_steps/gcc.rs | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/bootstrap/src/core/build_steps/gcc.rs b/src/bootstrap/src/core/build_steps/gcc.rs index b5fbd7e3f269..d07b7d256678 100644 --- a/src/bootstrap/src/core/build_steps/gcc.rs +++ b/src/bootstrap/src/core/build_steps/gcc.rs @@ -115,13 +115,16 @@ impl Step for Gcc { let deps_dir = out_dir.join("deps"); t!(fs::create_dir_all(&deps_dir)); - // Download dependencies into the build directory, to avoid modifying the source dir + // Download dependencies into the build directory, to avoid modifying the source directory // The configure script should automatically find them in the build directory - command(root.join("contrib/download_prerequisites")) - .current_dir(&root) - .arg("--directory") - .arg(deps_dir) - .run(builder); + // command(root.join("contrib/download_prerequisites")) + // The script sadly tries to write symlinks to the source directory, even if we + // actually download the dependencies elsewhere. + // .allow_failure() + // .current_dir(&root) + // .arg("--directory") + // .arg(&deps_dir) + // .run(builder); let mut configure_cmd = command(root.join("configure")); configure_cmd