Skip to content

Commit 1b39b43

Browse files
Make gcc root absolute
1 parent 42d6f57 commit 1b39b43

File tree

1 file changed

+2
-2
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+2
-2
lines changed

src/bootstrap/src/core/build_steps/gcc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub fn prebuilt_gcc_config(builder: &Builder<'_>, target: TargetSelection) -> Gc
4141
// FIXME (GuillaumeGomez): To be done once gccjit has been built in the CI.
4242
// builder.config.maybe_download_ci_gcc();
4343

44-
let root = "src/gcc";
44+
let root = builder.src.join("src/gcc");
4545
let out_dir = builder.gcc_out(target).join("build");
4646
let install_dir = builder.gcc_out(target).join("install");
4747

@@ -71,7 +71,7 @@ pub fn prebuilt_gcc_config(builder: &Builder<'_>, target: TargetSelection) -> Gc
7171
return GccBuildStatus::AlreadyBuilt;
7272
}
7373

74-
GccBuildStatus::ShouldBuild(Meta { stamp, out_dir, install_dir, root: root.into() })
74+
GccBuildStatus::ShouldBuild(Meta { stamp, out_dir, install_dir, root })
7575
}
7676

7777
#[derive(Debug, Clone, Hash, PartialEq, Eq)]

0 commit comments

Comments
 (0)