aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 009281d4e..1fb0ead09 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1648,7 +1648,7 @@ gb_internal bool parse_build_flags(Array<String> args) {
GB_ASSERT(value.kind == ExactValue_String);
if (str_eq_ignore_case(value.value_string, str_lit("thin"))) {
build_context.lto_kind = LTO_Thin;
- if (build_context.linker_choice == Linker_Invalid) {
+ if (build_context.linker_choice == Linker_Invalid || build_context.linker_choice == Linker_Default) {
build_context.linker_choice = Linker_lld;
}
if (!build_context.use_separate_modules) {
@@ -2826,8 +2826,8 @@ gb_internal int print_show_help(String const arg0, String command, String option
print_usage_line(2, "States that the project is to be build with link-time optimizations.");
print_usage_line(2, "This also enables '-use-separate-modules' (if not already set) and `-linker:lld");
print_usage_line(2, "Choices:");
- print_usage_line(3, "thin");
- print_usage_line(3, "thin-files");
+ print_usage_line(3, "thin (one module per package)");
+ print_usage_line(3, "thin-files (one module file)");
}
}