Commit 929100c
committed
compilers: clike: move
normal compilers does not rely on the position of this argument,
but MSVC-like compilers treat `/link` and any argument after that
as linker arguments. MSVC-like compiler's linker_to_compiler_args
inject `/link` before largs, resulting it being forwarded to link.exe
not the compiler driver.
fixes cross compiling with cc = clang-cl and c_ld = lld-link.-fuse-ld= to compiler args1 parent 5412f61 commit 929100c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| |||
0 commit comments