Skip to content

Commit 12a6a72

Browse files
authored
Set XBUILD_SYSROOT_PATH when building bootloader (#41)
1 parent 8420b1d commit 12a6a72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ impl Builder {
222222
cmd.arg("--release");
223223
cmd.env("KERNEL", kernel_bin_path);
224224
cmd.env_remove("RUSTFLAGS");
225-
cmd.env("SYSROOT_DIR", target_dir.join("sysroot")); // for cargo-xbuild
225+
cmd.env("XBUILD_SYSROOT_PATH", target_dir.join("bootloader-sysroot")); // for cargo-xbuild
226226
cmd
227227
};
228228

0 commit comments

Comments
 (0)