mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-08 13:51:37 -04:00
Fix #7806
This commit is contained in:
1 parent
63f3df70f1
commit
326aca6c67
1 file changed
+2
-2
+2
-2
@@ -1887,7 +1887,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_Default) {
|
||||
build_context.linker_choice = Linker_lld;
|
||||
}
|
||||
if (!build_context.use_separate_modules) {
|
||||
@@ -1899,7 +1899,7 @@ gb_internal bool parse_build_flags(Array<String> args) {
|
||||
}
|
||||
} else if (str_eq_ignore_case(value.value_string, str_lit("thin-files"))) {
|
||||
build_context.lto_kind = LTO_Thin_Files;
|
||||
if (build_context.linker_choice == Linker_Invalid) {
|
||||
if (build_context.linker_choice <= Linker_Default) {
|
||||
build_context.linker_choice = Linker_lld;
|
||||
}
|
||||
if (!build_context.use_separate_modules) {
|
||||
|
||||
Reference in new issue
Block a user