Skip to content

Commit

Permalink
improvs
Browse files Browse the repository at this point in the history
  • Loading branch information
lordshashank committed Apr 9, 2024
1 parent 04f37a2 commit cbd2819
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build_system/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ impl BuildArg {
}
}
"--sysroot" => {
build_arg.build_sysroot = true; // Set the flag when --sysroot is encountered
build_arg.build_sysroot = true;
}
"--help" => {
Self::usage();
Expand Down Expand Up @@ -211,7 +211,6 @@ fn build_codegen(args: &mut BuildArg) -> Result<(), String> {
let gccjit_target = "target/out/gccjit";
create_dir(gccjit_target)?;
if args.build_sysroot {
// Only call build_sysroot if the flag is set
println!("[BUILD] sysroot");
build_sysroot(&env, &args.config_info)?;
}
Expand Down

0 comments on commit cbd2819

Please sign in to comment.