Commit 73e6d2a
committed
Execution: special case the first two arguments in RSP mode
The second argument is often treated specially as a mode specifier for
tools. This is particularly important for Windows where `-lib` or `/lib`
passed to `link` or `ld.lld-link` will change the linker to the
librarian. This argument may not be sunk into the response file as it is
not treated as the mode specifier then. Special case the first two
arguments to ensure that the mode switch parameter is always passed for
any tools.1 parent 5fae1fd commit 73e6d2a
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| |||
0 commit comments