mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Fix -lld on Windows
This commit is contained in:
+2
-3
@@ -309,15 +309,14 @@ i32 linker_stage(lbGenerator *gen) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else { // lld
|
} else { // lld
|
||||||
result = system_exec_command_line_app("msvc-link",
|
result = system_exec_command_line_app("msvc-lld-link",
|
||||||
"\"%.*s\\bin\\lld-link\" %s -OUT:\"%.*s.%s\" %s "
|
"\"%.*s\\bin\\lld-link\" %s -OUT:\"%.*s.%s\" %s "
|
||||||
"/nologo /incremental:no /opt:ref /subsystem:%s "
|
"/nologo /incremental:no /opt:ref /subsystem:%s "
|
||||||
" %.*s "
|
" %.*s "
|
||||||
" %.*s "
|
" %.*s "
|
||||||
" %s "
|
" %s "
|
||||||
"",
|
"",
|
||||||
LIT(build_context.ODIN_ROOT),
|
LIT(build_context.ODIN_ROOT), object_files, LIT(output_base),output_ext,
|
||||||
LIT(output_base), object_files, output_ext,
|
|
||||||
link_settings,
|
link_settings,
|
||||||
subsystem_str,
|
subsystem_str,
|
||||||
LIT(build_context.link_flags),
|
LIT(build_context.link_flags),
|
||||||
|
|||||||
Reference in New Issue
Block a user