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
@ -111,6 +111,12 @@ impl Command {
|
||||
LldFlavor::Link => "link",
|
||||
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
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user