Add missing -Zjson-target-spec for m68k sysroot build
This commit is contained in:
parent
ec2996cfba
commit
4a6f0bebfb
1 changed files with 4 additions and 0 deletions
|
|
@ -141,6 +141,10 @@ pub fn build_sysroot(env: &HashMap<String, String>, config: &ConfigInfo) -> Resu
|
|||
}
|
||||
|
||||
let mut args: Vec<&dyn AsRef<OsStr>> = vec![&"cargo", &"build", &"--target", &config.target];
|
||||
if config.target.ends_with(".json") {
|
||||
args.push(&"-Zjson-target-spec");
|
||||
}
|
||||
|
||||
for feature in &config.features {
|
||||
args.push(&"--features");
|
||||
args.push(feature);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue