diff options
| author | gingerBill <bill@gingerbill.org> | 2022-03-09 09:36:21 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-03-09 09:36:21 +0000 |
| commit | ba412fd87bc1a24ca8ce9ee9ae665aa15b4cde2b (patch) | |
| tree | a216ae6c24215e9515b7cfd6213f84de8017a6dc /src/main.cpp | |
| parent | ff60b752bd11e654b5bfe210043cd63379e2ca34 (diff) | |
Fix typo
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index e01ea0308..4d25aea48 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -483,7 +483,7 @@ i32 linker_stage(lbGenerator *gen) { platform_lib_str = gb_string_appendc(platform_lib_str, "-lc -lm"); } - if (build_context.metrics.arch == TargetOs_darwin) { + if (build_context.metrics.os == TargetOs_darwin) { // This sets a requirement of Mountain Lion and up, but the compiler doesn't work without this limit. // NOTE: If you change this (although this minimum is as low as you can go with Odin working) // make sure to also change the 'mtriple' param passed to 'opt' |