Instruct lld that our @ files are posix-style, not Windows
An upstream LLVM change changed behavior here to respect the host system quoting rules; previously the posix-style format was always used for @files.
This commit is contained in:
parent
a835b483fe
commit
e8325b0f40
1 changed files with 6 additions and 0 deletions
|
@ -111,6 +111,12 @@ impl Command {
|
||||||
LldFlavor::Link => "link",
|
LldFlavor::Link => "link",
|
||||||
LldFlavor::Ld64 => "darwin",
|
LldFlavor::Ld64 => "darwin",
|
||||||
});
|
});
|
||||||
|
if let LldFlavor::Wasm = flavor {
|
||||||
|
// LLVM expects host-specific formatting for @file
|
||||||
|
// arguments, but we always generate posix formatted files
|
||||||
|
// at this time. Indicate as such.
|
||||||
|
c.arg("--rsp-quoting=posix");
|
||||||
|
}
|
||||||
c
|
c
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue