aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/linker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linker.cpp b/src/linker.cpp
index f369a5a38..7969d776e 100644
--- a/src/linker.cpp
+++ b/src/linker.cpp
@@ -331,7 +331,7 @@ try_cross_linking:;
gbString lld_lto_flags = gb_string_make(heap_allocator(), "");
defer (gb_string_free(lld_lto_flags));
if (build_context.lto_kind != LTO_None) {
- lld_lto_flags = gb_string_append_fmt(lld_lto_flags, "/lldltojobs:%d ", build_context.thread_count);
+ lld_lto_flags = gb_string_append_fmt(lld_lto_flags, "/opt:lldltojobs=%d ", build_context.thread_count);
}
switch (build_context.linker_choice) {