diff options
Diffstat (limited to 'meta/recipes-devtools/rust/rust-source.inc')
-rw-r--r-- | meta/recipes-devtools/rust/rust-source.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc index 92bb5e4779..820cdc16e2 100644 --- a/meta/recipes-devtools/rust/rust-source.inc +++ b/meta/recipes-devtools/rust/rust-source.inc | |||
@@ -17,7 +17,7 @@ RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src" | |||
17 | #After updating to Rust 1.85 we can revert this removal of "src/gcc" | 17 | #After updating to Rust 1.85 we can revert this removal of "src/gcc" |
18 | remove_gcc_directory() { | 18 | remove_gcc_directory() { |
19 | # Ensure the gcc directory exists | 19 | # Ensure the gcc directory exists |
20 | gcc_dir="${S}/src/gcc" | 20 | gcc_dir="${RUSTSRC}/src/gcc" |
21 | if [ -d "$gcc_dir" ]; then | 21 | if [ -d "$gcc_dir" ]; then |
22 | rm -rf "$gcc_dir" | 22 | rm -rf "$gcc_dir" |
23 | fi | 23 | fi |